Re: buildworld breakage during "make depend" at usr.bin/kdump

2001-11-01 Thread Dag-Erling Smorgrav
Guido van Rooij <[EMAIL PROTECTED]> writes: > May I aks which shell you are using? Zsh. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Unix Philosophers Please!

2001-11-06 Thread Dag-Erling Smorgrav
Bernd Walter <[EMAIL PROTECTED]> writes: > In short: The data is tranfered into the kernel and dropped there. The data is never transferred into the kernel. There is no copyin() or uiomove() there. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL

Re: forwarding

2001-11-06 Thread Dag-Erling Smorgrav
run PPP over SSH. On the inside box, set up a single static route to the outside box and let PPP take care of the default route. The outside box should run natd or ipnat unless you have a spare IP address you can use for the PPP link. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: se

Re: My contributions to the close a PR campaign

2001-10-15 Thread Dag-Erling Smorgrav
Seth Kingsley <[EMAIL PROTECTED]> writes: > Why not remove it after using it to restore the mixer state? It would > only exist to survive a reboot. You'd have to reset everything manually after a crash. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: se

Re: what is PSEUDOFS?

2001-12-06 Thread Dag-Erling Smorgrav
him there :) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: End-Of-Life announcement for M-Systems DiskOnChip driver("fla").

2003-02-03 Thread Dag-Erling Smorgrav
ith it. Read the announcement again. FreeBSD 5.x will still have DoC support, which means you have at least two years to grow tired of it before we stop putting out 5.x releases. By that time you will hopefully have realised it is a dead-end technology and switched to something that works.

Re: replacing GNU grep with UNIX grep.

2003-02-03 Thread Dag-Erling Smorgrav
Sergey Babkin <[EMAIL PROTECTED]> writes: > Also the GNU grep has a lot more options, the most interesting > of them being -r. Unfortunately, GNU grep's -r option is broken (it does not handle symnlinks correctly). Try textproc/freegrep from ports instead. DES -- Dag-Erling

Re: Modifying mergemaster behavior

2003-02-03 Thread Dag-Erling Smorgrav
ow has a new version-number > > in it. > This is an oft-requested feature, but I'm not sure how best to implement > it. Look up the -I option in the diff(1) man page. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Modifying mergemaster behavior

2003-02-03 Thread Dag-Erling Smorgrav
ff twice... no more than you already do (any reason why you don't use cmp instead of diff on line 815?) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Help with understanding process state, context switching andsignals

2003-02-06 Thread Dag-Erling Smorgrav
db(1) uses. You can get additional information about memory maps etc. from procfs. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: OpenPAM and OSVERSION

2003-02-10 Thread Dag-Erling Smorgrav
Sergey Matveychuk <[EMAIL PROTECTED]> writes: > What is OSVERSION num right after OpenPAM implemented? What problem are you trying to solve? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers"

Re: OpenPAM and OSVERSION

2003-02-10 Thread Dag-Erling Smorgrav
for PR. If you've fixed it in a way which requires knowing whether the system runs Linux-PAM or OpenPAM, you've fixed it wrong. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: OpenPAM and OSVERSION

2003-02-10 Thread Dag-Erling Smorgrav
onditional on the _OPENPAM preprocessor symbol. > What fix will be a right one? I can't tell you unless you show me what you believe needs fixing. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: OpenPAM and OSVERSION

2003-02-10 Thread Dag-Erling Smorgrav
"Sergey Matveychuk" <[EMAIL PROTECTED]> writes: > What a right way escape from PAM_CONV_AGAIN/PAM_TRY_AGAIN and relate code > from LINUX_PAM? Shoot the module author for using it, and Andrew Morgan (Linux-PAM author) for inventing it. DES -- Dag-Erling Smorgrav -

Re: Some "security" questions.

2003-02-10 Thread Dag-Erling Smorgrav
odified before release. The exact nature of that database is not important. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: dynamic hints

2003-02-12 Thread Dag-Erling Smorgrav
o examine a string directly via getenv() etc, those would not be > too late. It wouldn't be too late for loadable modules... DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: debugging a repeating panic that does not produce a dump

2003-02-17 Thread Dag-Erling Smorgrav
ne you want is the last one in the list that has a lower address than c0174830. How do you build your kernels - 'make buildkernel' or manually? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: debugging a repeating panic that does not produce a dump

2003-02-17 Thread Dag-Erling Smorgrav
d the value of x, y and udev (as reported by gdb operating on the recovered core) > > How do you build your kernels - 'make buildkernel' or manually? > Always make buildkernel. I have a debug kernel built as well > (makeoptions DEBUG=-g) That's what I wanted to know. DE

Re: debugging a repeating panic that does not produce a dump

2003-02-17 Thread Dag-Erling Smorgrav
Mike Tancsa <[EMAIL PROTECTED]> writes: > Thank you very much, I will do so as soon as I get the dump. BTW, > could the act of giving the wrong params to dumpon cause the crash ? No, it wouldn't. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to

Re: arc4random() range

2003-02-19 Thread Dag-Erling Smorgrav
one less than a power of two. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: arc4random() range

2003-02-19 Thread Dag-Erling Smorgrav
Peter Jeremy <[EMAIL PROTECTED]> writes: > In any case, doesn't the name imply that it's 31-bits... Yes, it's a bad name. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: debugging a repeating panic that does not produce a dump

2003-02-19 Thread Dag-Erling Smorgrav
=160) at /usr/src/sys/kern/kern_conf.c:207 These numbers look perfectly valid (cuaia0). The only explanation I can think of is some kind of race, or some kind of corruption. Hopefully somebody more clued than myself will be able to figure it out. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To U

Re: debugging a repeating panic that does not produce a dump

2003-02-20 Thread Dag-Erling Smorgrav
cessful. Its only on periodic that it > dies and find is always the process running. Its only with SMP as well > on this 'oldish' machine Hmm, it would be great to know what process was running when it crashed. Unfortunately, I don't know how to do that post-KSE... DES --

Re: booting from Promise tx2000: FIXED

2003-02-25 Thread Dag-Erling Smorgrav
at this hasn't percolated down to -STABLE yet. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: 3 IDE devices on Promise card + FreeBSD == not possible?

2003-03-10 Thread Dag-Erling Smorgrav
e manager with RAID functionality. > Is Vinum just a front-end to the ata system? No, it's completely device independent. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: gcc bug? Openoffice port impossibel to compile on 4.8

2003-05-28 Thread Dag-Erling Smorgrav
efore 1996 uncompilable. have you tried -traditional? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: gcc bug? Openoffice port impossibel to compile on 4.8

2003-05-29 Thread Dag-Erling Smorgrav
ten by the Linux bug. May I remind you that K&R-style declarations have been deprecated for the last 14 years? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hacke

Re: gcc bug? Openoffice port impossibel to compile on 4.8

2003-05-31 Thread Dag-Erling Smorgrav
Wes Peters <[EMAIL PROTECTED]> writes: > On Thursday 29 May 2003 00:12, Dag-Erling Smorgrav wrote: > > May I remind you that K&R-style declarations have been deprecated for > > the last 14 years? > Funny, the last time I looked at a C language specification

Re: gcc bug? Openoffice port impossibel to compile on 4.8

2003-05-31 Thread Dag-Erling Smorgrav
Valentin Nechayev <[EMAIL PROTECTED]> writes: > Essential words are understriked. I can't imagine how it can be read > as "unsupported". I didn't use the word "unsupported", I said "deprecated&qu

Re: kvm questions

2003-06-09 Thread Dag-Erling Smorgrav
Vlad GALU <[EMAIL PROTECTED]> writes: > Hello. I am trying to write a monitoring program > which makes use of the kvm interface. procfs is significantly less evil, if you can get the information you require from it. DES -- Dag-Erling Smorgrav - [EMA

Re: New vhost bugs.FreeBSD.org

2001-12-13 Thread Dag-Erling Smorgrav
eister) -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Junior Kernel hacker task: Floppy driver mode handling.

2001-12-13 Thread Dag-Erling Smorgrav
Poul-Henning Kamp <[EMAIL PROTECTED]> writes: > There exists a patch for adding a mode to our floppy driver to > add DEC RX50 media handling. Clearly a job for Jessem, don't you think? :) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAI

Re: New feutures...........

2001-12-14 Thread Dag-Erling Smorgrav
"Rafter Man" <[EMAIL PROTECTED]> writes: > 2. I hope that in the furture the FreeBSD developers will rewrite > the system in C++. You need to have your head examined. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] wit

Re: Ptrace and SIGTRAP problem

2002-02-09 Thread Dag-Erling Smorgrav
e child will get a SIGTRAP signal and core dumps. Can anyone give me a > clue how this is the case? Thanks! The parent must either detach from the child, or wait for it to terminate. See ptrace(2). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECT

Re: Ptrace and SIGTRAP problem

2002-02-09 Thread Dag-Erling Smorgrav
ugging turned on (which it does as a result of PT_TRACE_ME). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Ptrace and SIGTRAP problem

2002-02-09 Thread Dag-Erling Smorgrav
Zhihui Zhang <[EMAIL PROTECTED]> writes: > On 9 Feb 2002, Dag-Erling Smorgrav wrote: > > execve(2) in kern_exec.c posts SIGTRAP if the process has debugging > > turned on (which it does as a result of PT_TRACE_ME). > This is one time thing. It will be catched by the firs

OpenPAM Caliopsis + integration patches

2002-02-12 Thread Dag-Erling Smorgrav
ved issues. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Make's ongoing effort to get his PR's closed...

2002-02-17 Thread Dag-Erling Smorgrav
"Mike Meyer" <[EMAIL PROTECTED]> writes: > In my ongoing attempt to get my PR's closed, here's the list > again. They are listed roughly in the order of difficulty. Please send this to [EMAIL PROTECTED] DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To

Re: in-kernel HTTP Server for FreeBSD?

2002-02-17 Thread Dag-Erling Smorgrav
Hiten Pandya <[EMAIL PROTECTED]> writes: > Is there any In-Kernel HTTP Server for FreeBSD, like there is > kHTTPD for Linux? God forbid! Lots of hack value, sure, but not something you'd seriously consider for production use. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED

Re: in-kernel HTTP Server for FreeBSD?

2002-02-17 Thread Dag-Erling Smorgrav
Thomas Hurst <[EMAIL PROTECTED]> writes: > Don't functions like FreeBSD's zero-copy sendfile() provide similar > performance benefits without the massive security issues? sendfile() isn't zero-copy, it's just two-less-copies. DES -- Dag-Erling Smorgrav - [EMAIL

Re: in-kernel HTTP Server for FreeBSD?

2002-02-17 Thread Dag-Erling Smorgrav
Roy Sigurd Karlsbakk <[EMAIL PROTECTED]> writes: > well .. So let's turn the question upside-down, and ask "Is there a web > server or -accelerator for FreeBSD with similar performance as with khttpd > or Tux? Have you tried thttpd or boa? DES -- Dag-Erling Smorgra

Re: in-kernel HTTP Server for FreeBSD?

2002-02-17 Thread Dag-Erling Smorgrav
Roy Sigurd Karlsbakk <[EMAIL PROTECTED]> writes: > > sendfile() isn't zero-copy, it's just two-less-copies. > zero-copy means "zero copy-operations within memory" To an MCSE, maybe. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to

Re: in-kernel HTTP Server for FreeBSD?

2002-02-17 Thread Dag-Erling Smorgrav
s don't make you smart, you know - though I wouldn't expect someone who brags about being an MCSE and MCNE to understand that) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: in-kernel HTTP Server for FreeBSD?

2002-02-17 Thread Dag-Erling Smorgrav
s (employer's) time and money. Believing that it's worth more than the paper it's printed on, however, and bragging about it in an open-source forum, raises serious questions about one's intellectual acumen. Now, a CCNE, on the other hand... DES (neither of the above) -- Dag-Er

Re: Four misc. questions related to jail usage

2002-03-05 Thread Dag-Erling Smorgrav
c is 20 + 16 * maxusers. > 4. Why is it that some linux utilities, run inside a jail, get the > hostname of the host machine, and not the hostname of the jail itself? It's a bug. It was fixed recently (in the last few days) in -CURRENT. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Un

Re: Four misc. questions related to jail usage

2002-03-06 Thread Dag-Erling Smorgrav
x27;ps -e'. Everything else will work just fine. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

sshd UseLogin option

2002-03-13 Thread Dag-Erling Smorgrav
ularly bad idea? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: 'rm' incompatibility with Posix.2

2002-04-10 Thread Dag-Erling Smorgrav
cd baz des@sex ~/baz% ls -l total 0 -rw--- 1 des des0 Apr 10 16:16 bar In my humble opinion, Solaris (and every other *nix) is broken in this respect, and *BSD is correct. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "

Re: 'rm' incompatibility with Posix.2

2002-04-10 Thread Dag-Erling Smorgrav
Bogdan TARU <[EMAIL PROTECTED]> writes: > On 10 Apr 2002, Dag-Erling Smorgrav wrote: > > In my humble opinion, Solaris (and every other *nix) is broken in this > > respect, and *BSD is correct. > Except for OpenBDS. No NetBDS machine available, maybe some of you could >

Re: 'rm' incompatibility with Posix.2

2002-04-10 Thread Dag-Erling Smorgrav
Bogdan TARU <[EMAIL PROTECTED]> writes: > Could you also try the NetBDS's 'rm'? If it does work like FreeBDS, than > I really don't know what to believe anymore. It doesn't, actually, it removes the symlink rather than the directory it points at. DES -- D

Re: procfs issue.

2002-04-13 Thread Dag-Erling Smorgrav
Alfred Perlstein <[EMAIL PROTECTED]> writes: > It looks like the following delta (submitted by Tim J. Robbins) may > fix it: It looks correct to me, please commit (unless John has any objections?) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMA

Re: jail in 4.5-RELEASE: setrlimit() and blocked processes

2002-04-17 Thread Dag-Erling Smorgrav
John Kozubik <[EMAIL PROTECTED]> writes: > You can solve this problem by removing the setrlimit() call in postfix, > with the following patch: s/solve/work around/ The correct *solution* would be to fix setrlimit(). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe:

Re: Erm, since everyone managed to HIJACK my sshd thread! ;)

2002-04-25 Thread Dag-Erling Smorgrav
he patch is incorrect and should be backed out. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Erm, since everyone managed to HIJACK my sshd thread! ;)

2002-04-25 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes: > -hackers is not the appropriate forum for code review. The patch is > incorrect and should be backed out. Never mind, I did it myself. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PRO

Re: /usr/include/netinet/in.h

2002-05-09 Thread Dag-Erling Smorgrav
Ian <[EMAIL PROTECTED]> writes: > > The general rule is "including includes from includes is bad". > Okay, it's time to point out that these are opinions, not rules, and > differing opinions exist. POSIX disagrees with you. DES -- Dag-Erling Smorgrav - [EMAIL

Re: Is gethostbyname2() reentrant?

2002-06-01 Thread Dag-Erling Smorgrav
Peter Haight <[EMAIL PROTECTED]> writes: > If I link with libc_r can I use gethostbyname2() at the same time in two > different threads? Use getaddrinfo() instead. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscrib

Re: allocating memory

2002-06-06 Thread Dag-Erling Smorgrav
rements. Now I am trying mmap, and this lets me get to about > 2.5 GB of memory (again I ask for the memory in small increments). What > is it that causes these limitations? man limits, and see MAX{DSIZ,SSIZ} in NOTES. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send

Re: kern/40003: Panic on boot w/4.6-stable

2002-07-28 Thread Dag-Erling Smorgrav
Charles Sprickman <[EMAIL PROTECTED]> writes: > On 28 Jul 2002, Dag-Erling Smorgrav wrote: > > ad_attach() is trying to dereference atadev->param, which is NULL. > Is there any other info I can provide? I'll drive, you steer. :) No, this is Søren's cup of tea,

Re: kern/40003: Panic on boot w/4.6-stable

2002-07-28 Thread Dag-Erling Smorgrav
ch() is trying to dereference atadev->param, which is NULL. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Accessing memory below 1 MB

2002-07-30 Thread Dag-Erling Smorgrav
[EMAIL PROTECTED] writes: > I'm writing some graphics code (just for fun) and I need "legal" access to > the memory addresses below 1 mb. You can't access the framebuffer directly in FreeBSD like you can in DOS. Take a look at libvgl ('man vgl'). DES -- Da

Re: Increasing KVM

2002-10-28 Thread Dag-Erling Smorgrav
Ian Campbell <[EMAIL PROTECTED]> writes: > How exactly would I go about increasing KVM? Read the FAQ. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: USB support for new HP printers?

2002-12-04 Thread Dag-Erling Smorgrav
he OfficeJet. I have a d145, and while FreeBSD recognizes it just fine, and attaches it as a ulpt device, it fails to print (the process that tries to write to /dev/ulpt0 just hangs). I'll see if I can figure out a way to force the ulpt driver to bind to 7/1/2. DES -- Dag-Erling Smorgr

Re: USB support for new HP printers?

2002-12-04 Thread Dag-Erling Smorgrav
DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] Index: sys/dev/usb/ulpt.c === RCS file: /home/ncvs/src/sys/dev/usb/ulpt.c,v retrieving revision 1.50 diff -u -r1.50 ulpt.c --- sys/dev/usb/ulpt.c 30 Oct 2002 01:18:58 - 1.50 +++ sys/de

Re: [Fwd: Re: misc/11796: Bad lines in 3.2-RELEASE inetd.conf]

1999-06-21 Thread Dag-Erling Smorgrav
tream tcp waitkmem:kmem /usr/local/sbin/identd identd -w -t120 des@des ~% grep ident /usr/src/usr.sbin/inetd/inetd.c voidident_stream __P((int, struct servtab *)); { "ident", SOCK_STREAM,1, -1, ident_stream }, ident_stream(s, sep)/*

Re: tcpdump(1) additions.

1999-06-30 Thread Dag-Erling Smorgrav
included in a future official release of tcpdump? Can we afford to wait until then, and simply merge in the next release when it comes? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: DVD-ram

1999-07-01 Thread Dag-Erling Smorgrav
I share an office) had an external LaCie disk hooked up to his Mac until I threatened to pour Coca Cola into the PSU (this was after I'd hinted several times that the handles on his G3 would serve very well for chucking it out the window) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Uns

Re: DVD-ram

1999-07-01 Thread Dag-Erling Smorgrav
crypt0genic <[EMAIL PROTECTED]> writes: > * Dag-Erling Smorgrav ([EMAIL PROTECTED]) [990701 11:47]: > > LaCie don't make drives, they just package them in ugly boxes with > > noisy fans. > Im not sure what model you are refering too, but the drive I have is > in a

IETF 45

1999-07-02 Thread Dag-Erling Smorgrav
x27;t hesitate to contact the Oslo FreeBSD User Group (http://www.ofug.org/). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

bpfilter -> bpf patches [LONG]

1999-07-03 Thread Dag-Erling Smorgrav
though. Also, although I caught and corrected a few spacing nits caused by chopping off five letters, there may be some I didn't catch. If no-one objects, I'll commit this to -CURRENT in a few days. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] Index: src/

netstat(1) / sockstat(1) field width adjustments

1999-07-03 Thread Dag-Erling Smorgrav
RRENT in a few days if no-one objects. The patches are by Ruslan Ermilov, with a few adjustment by yours truly. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: netstat(1) / sockstat(1) field width adjustments

1999-07-03 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes: > Attached are patches [...] ...and here are the patches. Noticed by: Peter Wemm <[EMAIL PROTECTED]> DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] Index: src/usr.bin

Re: bpfilter -> bpf patches [LONG]

1999-07-03 Thread Dag-Erling Smorgrav
anks for asking - while looking into this matter I found another problem :) new patches will be available soon. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: bpfilter -> bpf patches [LONG]

1999-07-03 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes: > That said, thanks for asking - while looking into this matter I found > another problem :) new patches will be available soon. Nothing serious; a corrected patch is available on my freefall web page (http://www.freebsd.org/~des/sof

Re: how to start to be a hacker?

1999-07-04 Thread Dag-Erling Smorgrav
> Not to let this become a passage of right or anything. ITYM "rite of passage". HTH, HAND! DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Repalcement for grep(1)

1999-07-04 Thread Dag-Erling Smorgrav
k. You'll have to put a : at the start of your getopt() string and examine every argument getopt() complains about. Hope this helps... keep up the good work! DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Repalcement for grep(1)

1999-07-04 Thread Dag-Erling Smorgrav
code is a tad too strict. It complains about files with my name at the top (e.g. /usr/include/fetch.h in FreeBSD 3.x and 4.x) in non-ISO8859 locales. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Pictures from USENIX

1999-07-06 Thread Dag-Erling Smorgrav
o, 15 miles to the north of Ski, but I work in Ski). If you can find the right coordinates for Oslo, put me there instead :) I think tegge also lives in Oslo now, but I'm not sure. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Replacement for grep(1) (part 2)

1999-07-07 Thread Dag-Erling Smorgrav
own as I type > this), I will place this file in two locations: > > ftp://dragon.ham.muohio.edu/pub/howardjp/grep-0.3.tar.gz > ftp://ftp.wam.umd.edu/pub/howardjp/grep-0.3.tar.gz Mirror site: ftp://ftp.ofug.org/pub/grep/ DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Uns

Re: Replacement for grep(1) (part 2)

1999-07-07 Thread Dag-Erling Smorgrav
. A good test is to build lots of ports, since the ports framework uses grep a lot. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Replacement for grep(1) (part 2)

1999-07-07 Thread Dag-Erling Smorgrav
Jamie Howard <[EMAIL PROTECTED]> writes: > I incorporated a huge patch from Dag-Erling Smorgrav [...] Here's more :) BTW, I assume you've read this: http://www.opengroup.org/onlinepubs/007908799/xcu/grep.html> I see you switched to using extended regexps by defaul

Re: Replacement for grep(1) (part 2)

1999-07-07 Thread Dag-Erling Smorgrav
[accidentally b0rked the cc: line; apologies to those who get this twice] Jason Thorpe <[EMAIL PROTECTED]> writes: > On 07 Jul 1999 20:57:16 +0200 > Dag-Erling Smorgrav <[EMAIL PROTECTED]> wrote: > > Don't use err() indiscriminately after a malloc() failure; ma

Re: Replacement for grep(1) (part 2)

1999-07-07 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes: > Jamie Howard <[EMAIL PROTECTED]> writes: > > I incorporated a huge patch from Dag-Erling Smorgrav [...] > Here's more :) Following up on myself, I introduced a bug in the previous round of patches; here's a corr

Re: Repalcement for grep(1)

1999-07-07 Thread Dag-Erling Smorgrav
orresponds to what GNU grep does) As for full-line matches (-x), simply check that (pmatch[0].rm_so == 0 && pmatch[0].rm_eo == len) This should save you from playing games with back-references. (both code snippets assume that line points to a line of text from the input and that l

Re: Replacement for grep(1) (part 2)

1999-07-07 Thread Dag-Erling Smorgrav
Jamie Howard <[EMAIL PROTECTED]> writes: > On 7 Jul 1999, Dag-Erling Smorgrav wrote: > > I see you switched to using extended regexps by default, and made -E a > > no-op; this breaks the ports collection, so I changed it back. > > The FreeBSD, NetBSD, and OpenBSD

Re: Repalcement for grep(1)

1999-07-07 Thread Dag-Erling Smorgrav
They don't DTRT. They only match whitespace boundaries IIRC. Anyway, I already posted a solution which does not involve screwing around with the pattern. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Repalcement for grep(1)

1999-07-07 Thread Dag-Erling Smorgrav
BTW, the end-of-line handling is wrong; grep will fail to select a line where the pattern appears at the end and the line is not terminated by a newline. I'm working on a fix (and on implementing my solution for -w and -x). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe:

Re: Replacement for grep(1) (part 2)

1999-07-07 Thread Dag-Erling Smorgrav
Assar Westerlund <[EMAIL PROTECTED]> writes: > Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes: > > + realpat = grep_malloc(strlen(pattern) + sizeof("^(") > > + + sizeof(")$") + 1); > Why not just use asprintf?

Re: Replacement for grep(1) (part 2)

1999-07-11 Thread Dag-Erling Smorgrav
almost) as much memory as you want regardless of how much RAM / swap you have. You won't run into trouble unless you actually try to use too much of it. > What happens if the process hits its resource limits? Malloc() fails with ENOMEM. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED]

Determining the return address

1999-07-17 Thread Dag-Erling Smorgrav
on the Alpha? BTW, is dladdr() signal-safe? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Devloper

1999-07-17 Thread Dag-Erling Smorgrav
freebsd.org/handbook/contrib.html> DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Devloper

1999-07-17 Thread Dag-Erling Smorgrav
d text, count it once for every user that uses it? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Determining the return address

1999-07-18 Thread Dag-Erling Smorgrav
I use writev(), and I've gone to great lengths to ensure that log_makedate() (which uses localtime_r() and strftime() to build a date string) and lvformat() (a printf() clone with some additional goodies) are signal-safe. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send ma

Re: All this and documentation too? (was: cvs commit: src/sys/isa sio.c)

1999-07-18 Thread Dag-Erling Smorgrav
Greg Lehey <[EMAIL PROTECTED]> writes: > mdoc.samples(7). Now tell me that that's not intuitive. It would seem mdoc.samples(7) does not teach by example :) des@des ~% man -t mdoc.samples | lpr -Plex Usage: .Rv -std sections 2 and 3 only DES -- Dag-Erling Smorgrav - [EMAIL P

Re: Determining the return address

1999-07-18 Thread Dag-Erling Smorgrav
Alfred Perlstein <[EMAIL PROTECTED]> writes: > On 18 Jul 1999, Dag-Erling Smorgrav wrote: > > Alfred Perlstein <[EMAIL PROTECTED]> writes: > > > I doubt this is > > > at all portable and may fail because

Re: Determining the return address

1999-07-18 Thread Dag-Erling Smorgrav
t for is to find the caller's name using dladdr(). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Determining the return address

1999-07-18 Thread Dag-Erling Smorgrav
Alfred Perlstein <[EMAIL PROTECTED]> writes: > On 18 Jul 1999, Dag-Erling Smorgrav wrote: > > Hmm, I ended up using a global variable which I increment at the > > beginning of the signal handler, and decrement at the end. > As long as you make sure the code won't have

Re: Determining the return address

1999-07-19 Thread Dag-Erling Smorgrav
have the counter get jumbled. Not if increment / decrement is atomic. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Overcommit and calloc()

1999-07-19 Thread Dag-Erling Smorgrav
um; register size_t size; { register void *p; size *= num; if ( (p = malloc(size)) ) bzero(p, size); return(p); } so the answer is yes, it overcommits, but the bzero() may cause the system to run out of swap. DES -- Dag-Erling Smorgrav - [EMAIL P

Re: PAM & LDAP in FreeBSD

1999-07-19 Thread Dag-Erling Smorgrav
Oscar Bonilla <[EMAIL PROTECTED]> writes: > the idea is to have an entry in the /etc/passwd enabling LDAP lookups. > the Entry would be of the form > > ldap:*:389:389:o=My Organization, c=BR:uid:ldap.myorg.com Horrible idea. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED

Re: PAM & LDAP in FreeBSD

1999-07-19 Thread Dag-Erling Smorgrav
Oscar Bonilla <[EMAIL PROTECTED]> writes: > On Mon, Jul 19, 1999 at 06:13:51PM +0200, Dag-Erling Smorgrav wrote: > > Oscar Bonilla <[EMAIL PROTECTED]> writes: > > > the idea is to have an entry in the /etc/passwd enabling LDAP lookups. > > > the Entry would

<    1   2   3   4   5   >