[lkml]   [2011]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [BUG] Generic syscalls -- chmod vs. fchmodat
    POSIX says "A null pathname shall not be successfully resolved."  This
    applies to relative pathnames too, and a file name argument to an *at
    function using AT_FDCWD is a relative pathname. So I think there is no
    situation at all in which the empty string should resolve to anything.
    It's generally in the domain of the kernel to enforce these kinds of rules,
    so I think that having the kernel fail with ENOENT for all empty-string
    cases is the right thing to do.


     \ /
      Last update: 2011-01-24 22:07    [W:0.018 / U:52.388 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site