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] [day] [month] [year] [list]
Message-Id: <1158683595.18533.53.camel@galaxy.corp.google.com>
Date:	Tue, 19 Sep 2006 09:33:15 -0700
From:	Rohit Seth <rohitseth@...gle.com>
To:	Valdis.Kletnieks@...edu
Cc:	Andrew Morton <akpm@...l.org>, devel@...nvz.org,
	CKRM-Tech <ckrm-tech@...ts.sourceforge.net>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [Patch03/05]- Containers: Initialization and Configfs interface

On Tue, 2006-09-19 at 11:38 -0400, Valdis.Kletnieks@...edu wrote:
> On Thu, 14 Sep 2006 18:41:26 PDT, Rohit Seth said:
> 
> > --- linux-2.6.18-rc6-mm2.org/kernel/container_configfs.c	1969-12-31 16:00:00.000000000 -0800
> > +++ linux-2.6.18-rc6-mm2.ctn/kernel/container_configfs.c	2006-09-14 16:18:45.000000000 -0700
> 
> > +static ssize_t simple_containerfs_attr_show(struct config_item *item,
> > +		struct configfs_attribute *attr,
> > +		char *page)
> ...
> > +	switch (ctfs_attr->idx) {
> > +	case CONFIGFS_CTN_ATTR_ID:
> > +		tmp = sc->ctn.id;
> > +		break;
> ...
> > +	return sprintf(page, "%ld\n", tmp);
> 
> What use is this value, given that we already have containers/user_friendly_name
> to use in the filesystem namespace?  Or is this a mostly-debugging thing?

I think ids (numeric numbers) will be useful when printing the
information in /proc/<pid>/container  User land tools don't necessarily
have to parse the (name) string in that case.

-rohit

-
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