mirror of
https://github.com/opnsense/src.git
synced 2026-02-23 01:46:42 -05:00
An execute-only fd (opened with O_EXEC) allows neither read() nor write() and is therefore incompatible with all stdio modes. Therefore, the [EINVAL] error applies. Also adjust the similar check in freopen() with a NULL path, even though this checks an fd which is already from a FILE. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| test-fdopen.c | ||
| test-fdopen.t | ||
| test-fmemopen.c | ||
| test-fmemopen.t | ||
| test-fopen.c | ||
| test-fopen.t | ||
| test-freopen.c | ||
| test-freopen.t | ||
| test-getdelim.c | ||
| test-getdelim.t | ||
| test-mkostemp.c | ||
| test-mkostemp.t | ||
| test-open_memstream.c | ||
| test-open_memstream.t | ||
| test-open_wmemstream.c | ||
| test-open_wmemstream.t | ||
| test-perror.c | ||
| test-perror.t | ||
| test-print-positional.c | ||
| test-print-positional.t | ||
| test-printbasic.c | ||
| test-printbasic.t | ||
| test-printfloat.c | ||
| test-printfloat.t | ||
| test-scanfloat.c | ||
| test-scanfloat.t | ||