Re: How TLS is used in Kernel thread

2007-09-02 Thread Doug Rabson
On Thu, 2007-08-30 at 14:20 -0700, Jin Guojun wrote: By looking through _pthread_create() code and find it uses a magic cookie -- TLS -- created by rtld_allocate_tls(), and passed into kernel by sysarch() via _tcb_set() / _kcb_set(). The information seems to be set by rtld (ld-elf.so.1)

Re: what happened to make world?

2007-09-02 Thread soralx
: On Thursday 30 August 2007, Pietro Cerutti wrote: : # make world : WARNING: make world will overwrite your existing FreeBSD : installation without also building and installing a new : kernel. This can be dangerous. Please read the handbook, : 'Rebuilding world', for how to upgrade

Re: Exclusive binary files

2007-09-02 Thread Joerg Sonnenberger
On Sat, Sep 01, 2007 at 06:30:20PM -0400, Mike Meyer wrote: On Sat, 1 Sep 2007 14:27:42 -0300 Klaus Schneider [EMAIL PROTECTED] wrote: Well, anybody know a way to make the FreeBSD run just binaries that I have compiled? In general, it's impossible. There's no way the system can know that

Re: Exclusive binary files

2007-09-02 Thread Bill Moran
Joerg Sonnenberger [EMAIL PROTECTED] wrote: On Sat, Sep 01, 2007 at 06:30:20PM -0400, Mike Meyer wrote: On Sat, 1 Sep 2007 14:27:42 -0300 Klaus Schneider [EMAIL PROTECTED] wrote: Well, anybody know a way to make the FreeBSD run just binaries that I have compiled? In general, it's

Re: Exclusive binary files

2007-09-02 Thread Klaus Schneider
2007/9/2, Joerg Sonnenberger [EMAIL PROTECTED]: On Sat, Sep 01, 2007 at 06:30:20PM -0400, Mike Meyer wrote: On Sat, 1 Sep 2007 14:27:42 -0300 Klaus Schneider [EMAIL PROTECTED] wrote: Well, anybody know a way to make the FreeBSD run just binaries that I have compiled? In general,

Re: Exclusive binary files

2007-09-02 Thread Max Laier
On Saturday 01 September 2007, Klaus Schneider wrote: Hi. Well, anybody know a way to make the FreeBSD run just binaries that I have compiled? For example: A hacker get a access to a shell into my server, and then it put a exploit code, but on the machine don't have a compiler, then he

Re: Exclusive binary files

2007-09-02 Thread Robert Watson
On Sun, 2 Sep 2007, Max Laier wrote: On Saturday 01 September 2007, Klaus Schneider wrote: Well, anybody know a way to make the FreeBSD run just binaries that I have compiled? For example: A hacker get a access to a shell into my server, and then it put a exploit code, but on the machine

Re: Exclusive binary files

2007-09-02 Thread Mike Meyer
On Sun, 2 Sep 2007 12:45:09 +0200 Joerg Sonnenberger [EMAIL PROTECTED] wrote: On Sat, Sep 01, 2007 at 06:30:20PM -0400, Mike Meyer wrote: On Sat, 1 Sep 2007 14:27:42 -0300 Klaus Schneider [EMAIL PROTECTED] wrote: Well, anybody know a way to make the FreeBSD run just binaries that I have

Re: what happened to make world?

2007-09-02 Thread Mike Meyer
On Sun, 02 Sep 2007 03:49:12 -0700 [EMAIL PROTECTED] wrote: Not every FreeBSD user is [still] a computer enthusiast. It just so happens that the OS at the time is the best one for many, many different uses, such as: server, router, research workstation, 'desktop', etc. It is basically an

Re: Useful tools missing from /rescue

2007-09-02 Thread Tim Kientzle
Yar Tikhiy wrote: Hi all, I've had to use /rescue recently and felt lack of a few basic tools in it, namely pgrep(1), head(1), tail(1), tee(1), and a text filter, e.g., sed(1). Well, in fact most functionality of pgrep(1), head(1), tail(1), and even tee(1) can be emulated if one has sed(1),

Re: Useful tools missing from /rescue

2007-09-02 Thread Simon 'corecode' Schubert
Tim Kientzle wrote: I atttempted to fit 'vi' in there, but curses is rather finicky; 'sed' would be more useful. Mined is a nice editor for this, running without curses. A statically linked, stripped binary is about 100k in size, so if crunched it would have a very small impact. cheers

Re: Useful tools missing from /rescue

2007-09-02 Thread Giorgos Keramidas
On 2007-09-02 11:18, Tim Kientzle [EMAIL PROTECTED] wrote: Yar Tikhiy wrote: In addition, there are chflags and chmod in /rescue, but there's no chown in it, so the toolset is a bit incomplete. Oh, my. chown was definitely an oversight. That should have been in there. Probably because