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: <877gspms8m.fsf@xmission.com>
Date:	Thu, 23 Aug 2012 10:29:45 -0700
From:	ebiederm@...ssion.com (Eric W. Biederman)
To:	Dan Luedtke <mail@...rl.de>
Cc:	linux-fsdevel@...r.kernel.org, viro@...iv.linux.org.uk,
	akpm@...ux-foundation.org, chaosman@...ika.net, muthur@...il.com,
	kerolasa@....fi, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fs: Introducing Lanyard Filesystem

Dan Luedtke <mail@...rl.de> writes:

> +/**
> + * struct lanyfs_opts - mount options
> + * @uid:			userid of all files and directories
> + * @gid:			grouid of all files and direcotries
> + * @dmask:			directory mask
> + * @fmask:			file mask
> + * @discard:			issue discard requests on block freeing
> + * @flush:			force instant writing of changed data
> + */
> +struct lanyfs_opts {
> +	uid_t			uid;
> +	gid_t			gid;
A small nit.  Those above two lines should be:
	kuid_t			uid;
	kgid_t			gid;
> +	unsigned int		dmask;
> +	unsigned int		fmask;
> +	unsigned int		discard:1,
> +				flush:1;
> +};

Eric
--
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