From owner-p4-projects@FreeBSD.ORG Sat Jul 9 16:29:05 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 95A1B16A420; Sat, 9 Jul 2005 16:29:04 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F86216A41C for ; Sat, 9 Jul 2005 16:29:04 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 406E343D45 for ; Sat, 9 Jul 2005 16:29:04 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j69GT40X070358 for ; Sat, 9 Jul 2005 16:29:04 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j69GT3N0070355 for perforce@freebsd.org; Sat, 9 Jul 2005 16:29:03 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sat, 9 Jul 2005 16:29:03 GMT Message-Id: <200507091629.j69GT3N0070355@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 79843 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 16:29:05 -0000 http://perforce.freebsd.org/chv.cgi?CH=79843 Change 79843 by rwatson@rwatson_zoo on 2005/07/09 16:28:41 Correct spelling of CAP_SYS_SETFFLAG. Affected files ... .. //depot/projects/trustedbsd/sebsd/sys/ufs/ufs/ufs_vnops.c#11 edit Differences ... ==== //depot/projects/trustedbsd/sebsd/sys/ufs/ufs/ufs_vnops.c#11 (text+ko) ==== @@ -469,7 +469,7 @@ * is non-zero; otherwise, they behave like unprivileged * processes. */ - if (!cap_check_cred(cred, CAP_SYS_SETFLAG, + if (!cap_check_cred(cred, CAP_SYS_SETFFLAG, jail_chflags_allowed ? SUSER_ALLOWJAIL : 0)) { if (ip->i_flags & (SF_NOUNLINK | SF_IMMUTABLE | SF_APPEND)) {