synchronous freebsd print

2008-02-27 Thread Sanjeev Kumar.S
Hi, I have a quick question, and I believe this will be a common requirement. I do a print of some data and then immediately in a next statement there is a crash. But the print is not complete, before it completes there is a crash, the print is about 6-9 lines . Is

Re: synchronous freebsd print

2008-02-27 Thread Peter Jeremy
On Wed, Feb 27, 2008 at 12:08:28AM -0800, Sanjeev Kumar.S wrote: > I have a quick question, and I believe this will >be a common requirement. This is a standard C question. >I do a print of some data and then immediately >in a next statement there is a crash. ... >Is there

Re: Security Flaw in Popular Disk Encryption Technologies

2008-02-27 Thread Achim Patzner
You might want to take a look at eNova (http://www.enovatech.net/) who are pointing at interesting hardware using their crypto technology. = the idea of closed-source hardware-based crypto disk drive may appeal to some, but i've seen too many similar things fail through st

non-blocking io, EINTR

2008-02-27 Thread Mark Linn
Hi, I am setting the O_NONBLOCK flag on a socket file descriptor using fcntl, will a read() on the socket return EINTR when the process get a signal? Thanks Mark ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/fr

Re: synchronous freebsd print

2008-02-27 Thread Sanjeev Kumar.S
> This is a standard C question. Sorry, if this clarification is too simple, but I thought freeBSD kernel implemented its own print function. and the man for fflush says it is in the standard C-library. and the kernel source has no defn for fflush. I saw lots of kernel related questions a

Re: emulate an end-of-media

2008-02-27 Thread Joerg Sonnenberger
On Tue, Feb 26, 2008 at 04:00:00PM -0500, Mike Meyer wrote: > On Tue, 26 Feb 2008 21:28:53 +0100 Joerg Sonnenberger <[EMAIL PROTECTED]> > wrote: > > On Tue, Feb 26, 2008 at 07:44:48PM +0100, Martin Laabs wrote: > > > I also made a comparison between gzip and bzip2 regarding > > > the compression r

Re: non-blocking io, EINTR

2008-02-27 Thread Ed Schouten
* Mark Linn <[EMAIL PROTECTED]> wrote: > I am setting the O_NONBLOCK flag on a socket file descriptor using fcntl, > > will a read() on the socket return EINTR when the process get a signal? Probably not, because that would only happen if the kernel would call the *sleep() routines, which it won'

Re: find -lname and -ilname implemented

2008-02-27 Thread Stanislav Sedov
On Sun, Feb 24, 2008 at 12:43:39PM -0700 M. Warner Losh mentioned: > : > : Please, don't commit C++ comments, that violates style(9). Also, gnu should > be > : spelled as GNU. > > Understood. Not that I'm going to change it, but understood. Why not? You took a good peace of code, and now it lo

Re: synchronous freebsd print

2008-02-27 Thread Eygene Ryabinkin
Sanjeev, Wed, Feb 27, 2008 at 03:00:46AM -0800, Sanjeev Kumar.S wrote: > and Yes in the kernel code I have a "\n" at the end > of my print, still the print is not complete and > the line next to it that causes the crash does > not give the result I want. Is this a common > scenario or am I doing

Re: non-blocking io, EINTR

2008-02-27 Thread James Bailie
Mark Linn wrote: > I am setting the O_NONBLOCK flag on a socket file descriptor using fcntl, > > will a read() on the socket return EINTR when the process get a signal? By default, read() will restart itself automatically, regardless of whether the socket is blocking or not, as long as there is

OpenBSM & Jails

2008-02-27 Thread sam
hello i am using OpenBSM on System with jails part of praudit output / action write file in jail -- header,176,10,open(2) - write,creat,trunc,0,Thu Feb 21 13:45:06 2008, + 501 msec,argument,3,0x81ed,mode,argument,2,0x601,flags,path,//site/svn/de

Re: Security Flaw in Popular Disk Encryption Technologies

2008-02-27 Thread Oliver Fromme
Martin Laabs wrote: > Preventing the physical access to the memory modules > could be done with a light sensor or a simple switch > at the computer case. Easily to circumvent, too. > If you implement also a temperature- > sensor near the memory-modules you could prevent cooling > them down

cvs tag renaming after repo copy

2008-02-27 Thread John Hein
Can someone point me at a script that does tag renaming after a repo copy? ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: synchronous freebsd print

2008-02-27 Thread James K. Toothman
Use fprintf(stderr, ...) instead, as stderr is unbuffered by default. James Toothman About.com Peter Jeremy wrote: On Wed, Feb 27, 2008 at 12:08:28AM -0800, Sanjeev Kumar.S wrote: I have a quick question, and I believe this will be a common requirement. This is a standard C q

Re: find -lname and -ilname implemented

2008-02-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "David O'Brien" <[EMAIL PROTECTED]> writes: : On Mon, Feb 25, 2008 at 12:07:44AM -0700, M. Warner Losh wrote: : > In message: <[EMAIL PROTECTED]> : > Mike Meyer <[EMAIL PROTECTED]> writes: : > You fail to understand the complex interplay of po

Re: emulate an end-of-media

2008-02-27 Thread Mike Meyer
On Wed, 27 Feb 2008 13:50:48 +0100 Joerg Sonnenberger <[EMAIL PROTECTED]> wrote: > On Tue, Feb 26, 2008 at 04:00:00PM -0500, Mike Meyer wrote: > > On Tue, 26 Feb 2008 21:28:53 +0100 Joerg Sonnenberger <[EMAIL PROTECTED]> > > wrote: > > > On Tue, Feb 26, 2008 at 07:44:48PM +0100, Martin Laabs wrot

Re: find -lname and -ilname implemented

2008-02-27 Thread David O'Brien
On Mon, Feb 25, 2008 at 10:33:41PM +0200, Giorgos Keramidas wrote: > On 2008-02-23 16:48, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > > This knee-jerk reaction against gnu find functionality baffles me. > > The changes are trivial and make FreeBSD more compatible. It is such > > an obvious no-br

Re: non-blocking io, EINTR

2008-02-27 Thread Mark Linn
On Wed, Feb 27, 2008 at 5:25 AM, James Bailie <[EMAIL PROTECTED]> wrote: > Mark Linn wrote: > > > I am setting the O_NONBLOCK flag on a socket file descriptor using fcntl, > > > > will a read() on the socket return EINTR when the process get a signal? > > By default, read() will restart itse

Re: find -lname and -ilname implemented

2008-02-27 Thread Julian Elischer
David O'Brien wrote: On Mon, Feb 25, 2008 at 10:33:41PM +0200, Giorgos Keramidas wrote: On 2008-02-23 16:48, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: This knee-jerk reaction against gnu find functionality baffles me. The changes are trivial and make FreeBSD more compatible. It is such an ob

Re: synchronous freebsd print

2008-02-27 Thread Julian Elischer
Sanjeev Kumar.S wrote: Hi, I have a quick question, and I believe this will be a common requirement. I do a print of some data and then immediately in a next statement there is a crash. But the print is not complete, before it completes there is a crash, the print is

Re: OpenBSM & Jails

2008-02-27 Thread Robert Watson
On Thu, 21 Feb 2008, sam wrote: i am using OpenBSM on System with jails part of praudit output / action write file in jail -- header,176,10,open(2) - write,creat,trunc,0,Thu Feb 21 13:45:06 2008, + 501 msec,argument,3,0x81ed,mode,argument,2,0x6

Re: cvs tag renaming after repo copy

2008-02-27 Thread Giorgos Keramidas
On 2008-02-27 08:36, John Hein <[EMAIL PROTECTED]> wrote: > Can someone point me at a script that does tag renaming > after a repo copy? You don't really need a `script' to do this. Tags in CVS are not versioned, so you can force-tag the repo-copied files and move the tag to its new place. For e

Re: cvs tag renaming after repo copy

2008-02-27 Thread John Hein
Giorgos Keramidas wrote at 21:04 +0200 on Feb 27, 2008: > On 2008-02-27 08:36, John Hein <[EMAIL PROTECTED]> wrote: > > Can someone point me at a script that does tag renaming > > after a repo copy? > > You don't really need a `script' to do this. > > Tags in CVS are not versioned, so you

Re: Modular type GENERIC?

2008-02-27 Thread David O'Brien
On Tue, Feb 26, 2008 at 01:56:28PM +0900, Adrian Chadd wrote: > On 26/02/2008, David O'Brien <[EMAIL PROTECTED]> wrote: > > > As you've shown the magic is in the loader.conf. I don't know a good way > > to handle this other than attempt to load every module (like Microsoft NT > > installer does

Re: find -lname and -ilname implemented

2008-02-27 Thread Giorgos Keramidas
On 2008-02-27 10:31, David O'Brien <[EMAIL PROTECTED]> wrote: >On Mon, Feb 25, 2008 at 10:33:41PM +0200, Giorgos Keramidas wrote: >>On 2008-02-23 16:48, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: >>> This knee-jerk reaction against gnu find functionality baffles me. >>> The changes are trivial and

Re: cvs tag renaming after repo copy

2008-02-27 Thread Giorgos Keramidas
On 2008-02-27 12:21, John Hein <[EMAIL PROTECTED]> wrote: >Giorgos Keramidas wrote at 21:04 +0200 on Feb 27, 2008: >> On 2008-02-27 08:36, John Hein <[EMAIL PROTECTED]> wrote: >> > Can someone point me at a script that does tag renaming >> > after a repo copy? >> >> You don't really need a `script

Re: cvs tag renaming after repo copy

2008-02-27 Thread John Hein
Amol Dharmadhikar i ?? ? wrote at 11:47 -0800 on Feb 27, 2008: > On Wed, Feb 27, 2008 at 11:21 AM, John Hein <[EMAIL PROTECTED]> wrote: > > I don't want to move the tag... I want to invalidate old tags by > > renaming them to something else (like foo-1-2-3 -> old_foo-1-2-3). > >

Re: cvs tag renaming after repo copy

2008-02-27 Thread Amol Dharmadhikar i अमोल धर ्माध ीकारी
On Wed, Feb 27, 2008 at 11:21 AM, John Hein <[EMAIL PROTECTED]> wrote: > Giorgos Keramidas wrote at 21:04 +0200 on Feb 27, 2008: > > > On 2008-02-27 08:36, John Hein <[EMAIL PROTECTED]> wrote: > > > Can someone point me at a script that does tag renaming > > > after a repo copy? > > > > Yo

Re: cvs tag renaming after repo copy

2008-02-27 Thread Simon L. Nielsen
On 2008.02.27 08:36:30 -0700, John Hein wrote: > Can someone point me at a script that does tag renaming > after a repo copy? John Polstra has made a script (Fixtags) for it which we use for the FreeBSD repository. I don't think he has any problems with it being distributed, but as it doesn't hav

Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Yuri
I have a Linksys PCI wireless card that is being attached by "ral" driver: ral0: mem 0xcffe8000-0xcffe irq 17 at device 10.0 on pci0 ral0: MAC/BBP RT2561C, RF RT2527 ral0: Ethernet address: 00:18:f8:2e:40:25 ral0: [ITHREAD] But when I do 'ifconfig ral0 list caps' it returns: ral0=2181e500 and

Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Yuri
I have a Linksys PCI wireless card that is being attached by "ral" driver: ral0: mem 0xcffe8000-0xcffe irq 17 at device 10.0 on pci0 ral0: MAC/BBP RT2561C, RF RT2527 ral0: Ethernet address: 00:18:f8:2e:40:25 ral0: [ITHREAD] But when I do 'ifconfig ral0 list caps' it returns: ral0=2181e500

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Sam Leffler
Yuri wrote: I have a Linksys PCI wireless card that is being attached by "ral" driver: ral0: mem 0xcffe8000-0xcffe irq 17 at device 10.0 on pci0 ral0: MAC/BBP RT2561C, RF RT2527 ral0: Ethernet address: 00:18:f8:2e:40:25 ral0: [ITHREAD] But when I do 'ifconfig ral0 list caps' it returns: ral

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Yuri
> WEP is always supported. The WEP capability bit means the driver uses > the hardware. Many driver writers were too lazy to implement full > driver support and just fall back on the host to do crypto. I see. I am sure anybody who doesn't know this will get confused and will have the same ques

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread KAYVEN RIESE
On Wed, 27 Feb 2008, Sam Leffler wrote: Yuri wrote: I have a Linksys PCI wireless card that is being attached by "ral" driver: ral0: mem 0xcffe8000-0xcffe irq 17 at device 10.0 on pci0 ral0: MAC/BBP RT2561C, RF RT2527 ral0: Ethernet address: 00:18:f8:2e:40:25 ral0: [ITHREAD] But when I

Re: Re: non-blocking io, EINTR

2008-02-27 Thread jimmy
The author is just trying to make his reads and w rites robust. The functions he has written have no kno= wledge whether or not signals have been set to interrupt system = calls, so he makes sure they test for EINTR in case they have been. On Feb 27, 2008, [EMAIL PROTE

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Yuri
KAYVEN RIESE wrote: I am about to do a talk on WEP versus WPA for a course in internet security. I became acquainted with the protocols through a 60 minutes story. http://tinyurl.com/2wucm3 WEP is not fully secure. WPA or WPA2 is the improvement. The above story notes that American businesse

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Yuri
Pietro Cerutti wrote: It wouldn't make sense. Flags are used to specify capabilities of the interface, not things provided by the operating system. This is very confusing to user. User is assumed to have this bit of knowledge that WEP flag actually means only hardware support, not suppor

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread KAYVEN RIESE
On Wed, 27 Feb 2008, Yuri wrote: KAYVEN RIESE wrote: WEP is not fully secure. WPA or WPA2 is the improvement. The above story notes that American businesses are in arears with respect to properly upgrading the wireless routers that they use for financial processing. Sorry, Your response

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Sam Leffler
Yuri wrote: Pietro Cerutti wrote: It wouldn't make sense. Flags are used to specify capabilities of the interface, not things provided by the operating system. This is very confusing to user. User is assumed to have this bit of knowledge that WEP flag actually means only hardware support,

Re: Is it possible that modern wireless card only supports WPA and not WEP or this is a bug in the driver?

2008-02-27 Thread Yuri
Sam Leffler wrote: If you cannot use a feature you'll get an error when you try to use it. There simply are not enough capability bits around to waste on features that are always true. If I reorg this stuff (and I intend to to split crypto out into a separate features word because we are out

Java 1.6 Berkeley Oracle DB XML Bioinformatics

2008-02-27 Thread KAYVEN RIESE
I am in a whirlwind of re(?)installation confusion revolving around making sure I have prerequisites for a Bioinformatics progam. Here is that program's installation page: http://www.fruitfly.org/annot/apollo/install.html I selected the "Any UNIX" to get this script called apolloinst.bin that

Re: Modular type GENERIC?

2008-02-27 Thread Adrian Chadd
On 28/02/2008, David O'Brien <[EMAIL PROTECTED]> wrote: > On Tue, Feb 26, 2008 at 01:56:28PM +0900, Adrian Chadd wrote: > > On 26/02/2008, David O'Brien <[EMAIL PROTECTED]> wrote: > > > > > As you've shown the magic is in the loader.conf. I don't know a good way > > > to handle this other tha

Re: Modular type GENERIC?

2008-02-27 Thread David O'Brien
On Thu, Feb 28, 2008 at 03:26:55PM +0900, Adrian Chadd wrote: > Is there some sane-ish way of auto-generating a list of modules given > a config file? The "device" statements don't match up with the module > name in all bar 4 or 5 places. Is there some chain of files I can > munge to match things u

Re: Modular type GENERIC?

2008-02-27 Thread Adrian Chadd
On 28/02/2008, David O'Brien <[EMAIL PROTECTED]> wrote: > On Thu, Feb 28, 2008 at 03:26:55PM +0900, Adrian Chadd wrote: > > Is there some sane-ish way of auto-generating a list of modules given > > a config file? The "device" statements don't match up with the module > > name in all bar 4 or 5 p