File: INSTALL

package info (click to toggle)
fakeroot 0.4.4-9.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 696 kB
  • ctags: 173
  • sloc: sh: 7,643; ansic: 711; cpp: 312; makefile: 120
file content (33 lines) | stat: -rw-r--r-- 881 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Well, just do a

./configure
make


But due to a bug in the dynamic linker from GNU libc2.0
and Solaris (5.6, I believe), on those systems DON'T do
a 'make install', as that will put libtricks.so.0.0.1
in /usr/lib/, thus allowing (on those systems) interesting
things like
  LD_PRELOAD=libtricks.so.0.0.1 /bin/su
and now su _is_using_ libtricks! (thus making root breakins
trivial).

The dynamic linker bug doesn't apear to be present in OSF1 (1.3),
and I've been told it's been fixed in GNU libc 2.1.


On the affected systems, it's safer to just copy the shared libraries
to a special directory, like /usr/lib/libtricks/*


Notes on OSF1 1.3:
...

Notes on SunOs 5.6 (Solaris):
 The awk that comes with Solaris apparently doesn't cut it. Use GNU awk instead.
 Apart from that, libtool doesn't seem to be quite ready for SunOs 5.6 yet.
 (It just doesn't work).

joost witteveen.