From owner-cvs-all@FreeBSD.ORG Mon Mar 8 14:43:49 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EF7C16A4CE; Mon, 8 Mar 2004 14:43:49 -0800 (PST) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 289EC43D45; Mon, 8 Mar 2004 14:43:48 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 8 Mar 2004 20:43:36 +0000 (GMT) Date: Mon, 8 Mar 2004 20:43:36 +0000 From: David Malone To: Pawel Jakub Dawidek Message-ID: <20040308204336.GA7261@walton.maths.tcd.ie> References: <200403082037.i28KbQ2M041691@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403082037.i28KbQ2M041691@repoman.freebsd.org> User-Agent: Mutt/1.5.3i Sender: dwmalone@maths.tcd.ie cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern vfs_syscalls.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2004 22:43:49 -0000 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.