Opened 11 years ago
Closed 11 years ago
#10111 closed bug (duplicate)
panic when attempting to open symlink with O_CREAT | O_NOFOLLOW
Reported by: | phcoder | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/Kernel | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | #9140 | 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; }
Attachments (1)
Change History (4)
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
comment:2 by , 11 years ago
comment:3 by , 11 years ago
Blocked By: | 9140 added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Duplicate indeed.
Note:
See TracTickets
for help on using tickets.
#9140 was fixed in hrev46039.