Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 1998 21:32:29 +0500 (KGT)
From:      CyberPsychotic <mlists@gizmo.kyrnet.kg>
To:        freebsd-hackers@FreeBSD.ORG, bsdi-users@bsdi.com
Subject:   LD_PRELOAD similarities.
Message-ID:  <Pine.LNX.4.05.9812232118541.292-100000@gizmo.kyrnet.kg>

next in thread | raw e-mail | index | archive | help
Hello people,
 Some time ago I've written a library wrapper for some Linux boxes in my
university, which are doing some additional checks for system(..); and
exec*(,...) libc library functions before letting them being executed.
(since we are running a restricted shell there, and limit the set of
binaries, users could run, by a system table).
	Some time ago we had some FreeBSD and BSDi servers installed,
where we aim to give students an access. I tried to port my library to
FreeBSD but I got stuck alittle bit with LD_PRELOAD functionality:

(*) is there a predefined library name, which would be preloaded all the
time, when a dinamically-linked binary executed? (on linux it's
/etc/ld.so.preload)

(*) Is BSDi compatible with FreeBSD here? (seems not quite, since whether
I try to set LD_PRELOAD variable on BSDi machine, it makes no effect).

Thanks beforehands

best regards

Fyodor
--
fygrave@tigerteam.net		http://www.kalug.lug.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.05.9812232118541.292-100000>