Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [fyi] lddtree magic
Date: Wed, 10 Apr 2013 03:09:15
Message-Id: 201304092310.22152.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] [fyi] lddtree magic by "Diego Elio Pettenò"
1 On Tuesday 09 April 2013 16:30:26 Diego Elio Pettenò wrote:
2 > On 09/04/2013 20:31, Mike Frysinger wrote:
3 > > but things get even crazier with the new --copy-to-tree option (python
4 > > version only). this is useful for scenarios like kernel initramfs where
5 > > you want to copy over one or two ELFs and their dependencies w/out
6 > > resorting to statically linking them. check out the --help text for
7 > > more details.
8 >
9 > Would you mind a "hardlink to tree"? Would be lovely for chroot
10 > environments as well...
11
12 sure, that should be easy to add. i'll add an obligatory warning about the
13 accidental modification scenario. i know some newer kernel systems (like
14 yama?) have started disallowing hardlinks to files you don't own (even ones
15 that aren't setuid). the resulting error is fun & obtuse too like "EPERM".
16 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] [fyi] lddtree magic Fabio Erculiani <lxnay@g.o>