Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2004 20:43:36 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern vfs_syscalls.c
Message-ID:  <20040308204336.GA7261@walton.maths.tcd.ie>
In-Reply-To: <200403082037.i28KbQ2M041691@repoman.freebsd.org>
References:  <200403082037.i28KbQ2M041691@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 08, 2004 at 12:37:26PM -0800, Pawel Jakub Dawidek wrote:
>           - security.bsd.hardlink_check_uid, when set, means, that unprivilege
>                   users are not permitted to create hard links to files not
>                   owned by them,
>           - security.bsd.hardlink_check_gid, when set, means, that unprivilege
>                   users are not permitted to create hard links to files owned
>                   by group they don't belong to.

Neat! I'd done something like this years ago, but couldn't figure
out if this should be enforced by syscall code or filesystem code.
I think that NFS was the main place that this made a difference, so
I wonder if the NFS server should know about these sysctls?

	David.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040308204336.GA7261>