Opened 11 years ago
Last modified 11 years ago
#10111 closed bug
panic when attempting to open symlink with O_CREAT | O_NOFOLLOW — at Version 1
Reported by: | phcoder | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
Testcase:
#include <sys/types.h> #include <sys/stat.h> # include <unistd.h> #include <fcntl.h> int main () { int fd; static char const sym[] = "conftest.sym"; symlink ("/dev/null", sym); fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0); close (fd); unlink (sym); return 0; }
Change History (2)
by , 11 years ago
Attachment: | haiku3.png added |
---|
comment:1 by , 11 years ago
Component: | - General → System/Kernel |
---|---|
Description: | modified (diff) |
Owner: | changed from | to
Note:
See TracTickets
for help on using tickets.