Re: [9fans] two quick questions on syscalls

2009-01-08 Thread Charles Forsyth
>Last time I checked, isn't _brk() still used by libc? that's brk_, which represents a remarkably persistent bit of history

Re: [9fans] two quick questions on syscalls

2009-01-08 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Last time I checked, isn't _brk() still used by libc? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAklmdo8ACgkQuv7AVNQDs+w5mQCfZRYkhc4CKRx/nBXL4tSfMNb4 Zu8An2NDriTCXhUnZJj5CGUd0iH7HzVw =iWJP -END PGP SIGNATURE-

Re: [9fans] two quick questions on syscalls

2009-01-08 Thread Charles Forsyth
the _ ones allow some old binaries to work (mainly useful these days for ancient things on the dump i suppose); sysr1 is for [kernel] debugging and hasn't got a fixed function.--- Begin Message --- Hi! 1. are the ones starting from underscore totally deprecated? 2. what's the use for sysr1? Thank

Re: [9fans] two quick questions on syscalls

2009-01-08 Thread Russ Cox
On Thu, Jan 8, 2009 at 9:03 AM, Roman V. Shaposhnik wrote: > 1. are the ones starting from underscore totally deprecated? No. Many are still minimally supported, so that it is possible to run simple pre-9P2000 binaries (for example, out of the dump). > 2. what's the use for sysr1? Sysr1 is wha

Re: [9fans] two quick questions on syscalls

2009-01-08 Thread john
> Hi! > > 1. are the ones starting from underscore totally deprecated? > 2. what's the use for sysr1? > > Thanks, > Roman. To answer #2: I found sysr1 useful while fiddling with devtrace, because it's a syscall that does nothing. In addition to providing insights to how long it takes to enter a

[9fans] two quick questions on syscalls

2009-01-08 Thread Roman V. Shaposhnik
Hi! 1. are the ones starting from underscore totally deprecated? 2. what's the use for sysr1? Thanks, Roman.