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: <20070308163118.GK6602@sequoia.sous-sol.org>
Date:	Thu, 8 Mar 2007 08:31:18 -0800
From:	Chris Wright <chrisw@...s-sol.org>
To:	Mimi Zohar <zohar@...ux.vnet.ibm.com>
Cc:	linux-kernel@...r.kernel.org, safford@...son.ibm.com,
	serue@...ux.vnet.ibm.com, kjhall@...ux.vnet.ibm.com,
	zohar@...ibm.com
Subject: Re: [RFC][Patch 1/6] integrity: new hooks

* Mimi Zohar (zohar@...ux.vnet.ibm.com) wrote:
> +static int dummy_inode_setxattr(struct dentry *dentry, char *name, void *value,
> +				size_t size, int flags)
> +{
> +	if (!strncmp(name, XATTR_SECURITY_PREFIX,
> +		     sizeof(XATTR_SECURITY_PREFIX) - 1) &&
> +	    !capable(CAP_SYS_ADMIN))
> +		return -EPERM;
> +	return 0;
> +}

Hold on, what is all this?  Duplication of all of this code is a no go.

thanks,
-chris
-
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