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: <20071031143441.GA7128@suse.de>
Date:	Wed, 31 Oct 2007 07:34:41 -0700
From:	Greg KH <gregkh@...e.de>
To:	Denis Cheng <crquan@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [sysfs]: make readlink result shorter when the symlink
	and its target shared some base sysfs subdirectory

On Wed, Oct 31, 2007 at 06:34:20PM +0800, Denis Cheng wrote:
> this is especially useful after /sys/slab introduced, for example:
> 
> $ ls -l /sys/slab/mm_struct
> lrwxrwxrwx 1 root root 0 2007-10-31 17:40 /sys/slab/mm_struct -> :0000448
> 
> instead of:
> 
> $ ls -l /sys/slab/mm_struct
> lrwxrwxrwx 1 root root 0 2007-10-31 17:40 /sys/slab/mm_struct -> ../slab/:0000448
> 
> Signed-off-by: Denis Cheng <crquan@...il.com>

As pretty as this change is, it's not really necessary, right?

Is there any other place in /sys that would benefit from this?

thanks,

greg k-h
-
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