lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0609060842570.10504@yvahk01.tjqt.qr>
Date:	Wed, 6 Sep 2006 08:54:43 +0200 (MEST)
From:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
To:	Andreas Gruenbacher <agruen@...e.de>
cc:	linux-kernel@...r.kernel.org, Andrew Morton <akpm@...l.org>,
	James Morris <jmorris@...ei.org>,
	Kay Sievers <kay.sievers@...y.org>
Subject: Re: Generic infrastructure for acls



>+generic_acl_set(struct inode *inode, struct generic_acl_operations *ops,
>+		int type, const void *value, size_t size)
>+{
>+	struct posix_acl *acl = NULL;
>+	int error;
>+
>+	if (S_ISLNK(inode->i_mode))
>+		return -EOPNOTSUPP;
>+	if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER))

>+			if (error > 0) {
>+				ops->setacl(inode, ACL_TYPE_ACCESS, clone);
>+			}

redundant () {}



Jan Engelhardt
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ