text: Opened 6 years ago
  Closed 6 years ago
  #10111 closed bug (duplicate)
  panic when attempting to open symlink with O_CREAT | O_NOFOLLOW
  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 , 6 years ago
  comment:1 by , 6 years ago
  comment:2 by , 6 years ago
  comment:3 by , 6 years ago
  Duplicate indeed.
  Note: See TracTickets for help on using tickets.
  #9140 was fixed in hrev46039.