Re: Reading acpi memory from a driver attached to hostb

2009-07-22 Thread Andre Albsmeier
On Wed, 22-Jul-2009 at 09:48:56 -0700, Doug Ambrisko wrote: > Andre Albsmeier writes: > | On Sat, 18-Jul-2009 at 10:25:06 +0100, Rui Paulo wrote: > | > On 18 Jul 2009, at 09:10, Andre Albsmeier wrote: > | > > | > > On Fri, 17-Jul-2009 at 12:53:53 -0700, Julian Elischer wrote: > | > >> Andre Albsme

Re: SGID/SUID on scripts

2009-07-22 Thread perryh
DarkSoul wrote: > Anthony Pankov wrote: > > SGID/SUID bits don't work with shell scripts, do they? > > They don't. > > ... if they were applied, the following would occur : > - execve() syscall reads your script's shebang line, and > the script interpreter is executed, receiving the specified > ar

Re: SGID/SUID on scripts

2009-07-22 Thread DarkSoul
Anthony Pankov wrote: > SGID/SUID bits don't work with shell scripts, do they? > > And no mention in chmod(1,2) manual. They don't. One reason for this, is that if they were applied, the following would occur : - execve() syscall reads your script's shebang line, and the script interpreter is ex

Re: SGID/SUID on scripts

2009-07-22 Thread Julian Elischer
Anthony Pankov wrote: SGID/SUID bits don't work with shell scripts, do they? No google SUID script security And no mention in chmod(1,2) manual. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-h

SGID/SUID on scripts

2009-07-22 Thread Anthony Pankov
SGID/SUID bits don't work with shell scripts, do they? And no mention in chmod(1,2) manual. -- Best regards, Anthony mailto:a...@mail.ru ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listin

Re: llvm/clang a tool chain or just a compiler for FreeBSD?

2009-07-22 Thread Roman Divacky
On Wed, Jul 22, 2009 at 06:20:36PM +0200, Ed Schouten wrote: > * Dag-Erling Sm?rgrav wrote: > > "Shaowei Wang (wsw)" writes: > > > So what's the direction? Are we going to cut off all the GNU compiler > > > tool chains and use the llvm/clang when it's mature. > > > > Who's "we"? > > > > Anyway,

Re: llvm/clang a tool chain or just a compiler for FreeBSD?

2009-07-22 Thread Roman Divacky
On Wed, Jul 22, 2009 at 04:52:58PM +0100, Igor Mozolevsky wrote: > 2009/7/22 Kostik Belousov : > > > I believe that the nearest action that is quite reasonable and > > profitable by its own merit is divorcing base compiler and compiler used > > to build ports. Even if this means that we would "onl

Re: checking number of parallel ports installed and their port adresses

2009-07-22 Thread Alexander Best
the ppi manual states that using ioctl with /dev/ppi is extremely slow. i need the parallel port to be really fast. i need to communicate with a device that uses asynchronous transfer at a rate of ~ 2 mhz. so i need the full ISA bus speed to be able to push/pull data to/from the parallel port witho

Re: checking number of parallel ports installed and their port adresses

2009-07-22 Thread Alexey Shuvaev
On Wed, Jul 22, 2009 at 12:43:20AM +0200, Alexander Best wrote: > hi there, > > i've written an app in c (and a bit of asm) which needs to do raw parallel > port io using the i386 opcodes in/out. to get the number of available parallel > ports installed and their addresses i open and mmap /dev/mem

Re: llvm/clang a tool chain or just a compiler for FreeBSD?

2009-07-22 Thread Ed Schouten
* Dag-Erling Smørgrav wrote: > "Shaowei Wang (wsw)" writes: > > So what's the direction? Are we going to cut off all the GNU compiler > > tool chains and use the llvm/clang when it's mature. > > Who's "we"? > > Anyway, LLVM *isn't* mature, and it probably won't be for years, if > ever, so there

Re: llvm/clang a tool chain or just a compiler for FreeBSD?

2009-07-22 Thread Igor Mozolevsky
2009/7/22 Kostik Belousov : > I believe that the nearest action that is quite reasonable and > profitable by its own merit is divorcing base compiler and compiler used > to build ports. Even if this means that we would "only" have different > versions of gcc. On a similar note, has anyone one tr

Re: llvm/clang a tool chain or just a compiler for FreeBSD?

2009-07-22 Thread Kostik Belousov
On Wed, Jul 22, 2009 at 07:23:17PM +0400, Alexander Churanov wrote: > 2009/7/22 Kostik Belousov : > > I believe that the nearest action that is quite reasonable and > > profitable by its own merit is divorcing base compiler and compiler used > > to build ports. Even if this means that we would "onl

Re: llvm/clang a tool chain or just a compiler for FreeBSD?

2009-07-22 Thread Alexander Churanov
2009/7/22 Kostik Belousov : > I believe that the nearest action that is quite reasonable and > profitable by its own merit is divorcing base compiler and compiler used > to build ports. Even if this means that we would "only" have different > versions of gcc. > I know some ports using "USE_GCC" kn

Re: llvm/clang a tool chain or just a compiler for FreeBSD?

2009-07-22 Thread Kostik Belousov
On Wed, Jul 22, 2009 at 03:38:44AM +0200, Dag-Erling Sm??rgrav wrote: > "Shaowei Wang (wsw)" writes: > > So what's the direction? Are we going to cut off all the GNU compiler > > tool chains and use the llvm/clang when it's mature. > > Who's "we"? > > Anyway, LLVM *isn't* mature, and it probably

Re: llvm/clang a tool chain or just a compiler for FreeBSD?

2009-07-22 Thread Shaowei Wang (wsw)
On Wed, Jul 22, 2009 at 3:19 PM, Roman Divacky wrote: > On Wed, Jul 22, 2009 at 09:18:46AM +0800, Shaowei Wang (wsw) wrote: > > On Tue, Jul 21, 2009 at 9:17 PM, Roman Divacky > wrote: > > > > > On Tue, Jul 21, 2009 at 12:34:29PM +0800, Shaowei Wang (wsw) wrote: > > > > Hi, hackers! > > > > > > >

Re: llvm/clang a tool chain or just a compiler for FreeBSD?

2009-07-22 Thread Roman Divacky
On Wed, Jul 22, 2009 at 09:18:46AM +0800, Shaowei Wang (wsw) wrote: > On Tue, Jul 21, 2009 at 9:17 PM, Roman Divacky wrote: > > > On Tue, Jul 21, 2009 at 12:34:29PM +0800, Shaowei Wang (wsw) wrote: > > > Hi, hackers! > > > > > > Recently I am playing the clangbsd i386 branch and it works. I've no