Re: [PATCH 5/5] libdiskfs: add permission check to file_chflags

2014-06-17 Thread Samuel Thibault
Justus Winter, le Mon 16 Jun 2014 19:49:29 +0200, a écrit : > Only root is allowed to change the high 16 bits. The TODO entry says > otherwise, but that must be a mistake. For reference, see the glibc > sources, sysdeps/mach/hurd/bits/stat.h. > > * libdiskfs/file-chflags.c (diskfs_S_file_chflags

[PATCH 5/5] libdiskfs: add permission check to file_chflags

2014-06-16 Thread Justus Winter
Only root is allowed to change the high 16 bits. The TODO entry says otherwise, but that must be a mistake. For reference, see the glibc sources, sysdeps/mach/hurd/bits/stat.h. * libdiskfs/file-chflags.c (diskfs_S_file_chflags): Add permission check. * TODO (libdiskfs): Remove entry. --- TODO