Re: Ответ: VFS, NFS security bug? Should CAP_MKNOD and CAP_LINUX_IMMUTABLE be added to CAP_FS_MASK?

From: Igor Zhbanov
Date: Mon Mar 16 2009 - 19:17:34 EST


Anyway, please commit changes to linux-2.4 too.

fs/nfsd/auth.c for CAP_NFSD_MASK:
#define CAP_NFSD_MASK (CAP_FS_MASK|CAP_TO_MASK(CAP_SYS_RESOURCE))

and

include/linux/capability.h for CAP_FS_MASK:
#define CAP_FS_MASK 0x1f
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/