rdivacky    2008-04-09 16:42:50 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/linux     linux_file.c 
  Log:
  Remove using magic value of -1 to distinguish between linux_open()
  and linux_openat(). Instead just pass AT_FDCWD into linux_common_open()
  for the linux_open() case. This prevents passing -1 as a dirfd to
  openat() from succeeding which is wrong.
  
  Suggested by:   rwatson, kib
  Approved by:    kib (mentor)
  
  Revision  Changes    Path
  1.112     +3 -5      src/sys/compat/linux/linux_file.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to