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  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]
Date:	Tue, 3 Mar 2009 09:09:50 +0900
From:	KAMEZAWA Hiroyuki <>
To:	Paul Menage <>
Cc:	Li Zefan <>,
	Andrew Morton <>,
	LKML <>,
	Linux Containers <>
Subject: Re: [PATCH 0/4] cgroups: show correct file mode

On Mon, 2 Mar 2009 10:19:15 -0800
Paul Menage <> wrote:

> On Sun, Mar 1, 2009 at 6:13 PM, Li Zefan <> wrote:
> > Now a cgroup subsystem can set default file mode of its control files,
> > so here is a patchset to correct file mode of each subsystem's files.
> I really think that we should be defaulting this based on whether the
> control file has read or write handlers.
> Sure, there are special cases like "tasks" that we'd need to set a
> manual value for, but most of these patches would be unnecessary.
like this ?
	int mode;
	if (cft->mode)
		mode = cft->mode;
	else if (cft->write_xxx || .....)
		mode = 0644;
		mode = 0444;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists