RE: Double buffered cp(1)

2000-05-12 Thread Koster, K.J.
Leaving out -pipe would be slower still, because the compiler does data passing using temporary files in /tmp instead of via a pipe. Unless this has been changed from 3.4 to 4.0, gcc defaults to /var/tmp. I never understood why, and the gcc manual page claims that it's /tmp (I think). MFS

RE: ipfw and verbose mode

2000-05-12 Thread Gianmarco Giovannelli
At 11/05/00, Conrad Sabatier wrote: On 12-May-00 Gianmarco Giovannelli wrote: The problem is that ipfw, even if working, don't log me on the screen or in /var/log/messages the rules that are triggered (with the log keyword) like: ipfw -q add 1 deny log ip from any to any I don't

RE: Double buffered cp(1)

2000-05-12 Thread Kris Kennaway
On Fri, 12 May 2000, Koster, K.J. wrote: Unless this has been changed from 3.4 to 4.0, gcc defaults to /var/tmp. I never understood why, and the gcc manual page claims that it's /tmp (I think). MFS users, synchronize your TMPDIR variables ... now. :-) It did. Compiling a simple test program

RE: ipfw and verbose mode

2000-05-12 Thread Kris Kennaway
On Fri, 12 May 2000, Gianmarco Giovannelli wrote: I am missing these kind of logging which I require with the "log" keyword: Check your syslog.conf settings - ipfw didn't change the logging behaviour with 4.0, AFAIK. Kris In God we Trust -- all others must submit an X.509 certificate.

Re: Why this works?

2000-05-12 Thread Alfred Perlstein
* Ville-Pertti Keinonen [EMAIL PROTECTED] [000511 22:49] wrote: [EMAIL PROTECTED] (FengYue) writes: I've 3 small programs. First one writes 4K of data contains 'A's into a file /tmp/pagetest and then lseek() to the begin of the file. Second one writes 4K of 'Z' into the same file

RE: ipfw and verbose mode (solved)

2000-05-12 Thread Gianmarco Giovannelli
At 12/05/00, you wrote: On Fri, 12 May 2000, Gianmarco Giovannelli wrote: I am missing these kind of logging which I require with the "log" keyword: Check your syslog.conf settings - ipfw didn't change the logging behaviour with 4.0, AFAIK. Find it ! Thanks it logs everything in

Re: Double buffered cp(1)

2000-05-12 Thread Kent Stewart
Kris Kennaway wrote: On Mon, 24 Apr 2000, Kent Stewart wrote: This is what I see on a buildworld with 4.0-Stable Modified /etc/make.conf and commented out CFLAGS= -Os -pipe 3707.4u 799.6s 1:35:52.46 78.3% 1374+1477k 56974+173232io 2337pf+0w 3693.9u 800.5s 1:29:45.73 83.4%

Re: newbusified rp driver

2000-05-12 Thread Seigo Tanimura
On Thu, 11 May 2000 06:55:48 -0700 (PDT), Chris Ptacek [EMAIL PROTECTED] said: Chris I am currently working on a program to download the microcode into Chris the RocketModem2 cards. One thing I noticed is that the RocketPort Chris driver defaults the cards to 8 lines, I put in a small fix and

Re: Double buffered cp(1)

2000-05-12 Thread Aleksandr A.Babaylov
Kris Kennaway writes: On Fri, 12 May 2000, Koster, K.J. wrote: Unless this has been changed from 3.4 to 4.0, gcc defaults to /var/tmp. I never understood why, and the gcc manual page claims that it's /tmp (I think). MFS users, synchronize your TMPDIR variables ... now. :-) It did.

BROKEN_KEYBOARD_RESET

2000-05-12 Thread FreeBSD MAIL
Is this the kernel setting to dislable ctrl-alt-delete from resetting a systtem? If so it seems to be broken in 4.0-RELEASE. is there another way of doing this? remaping keyboard perhaps? # BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to # reset the CPU for reboot. This

Re: BROKEN_KEYBOARD_RESET

2000-05-12 Thread Marc Silver
The option you're looking for is: options SC_DISABLE_REBOOT BROKEN_KEYBOARD_RESET is used for something else. :) Cheers, Marc On Fri, May 12, 2000 at 04:29:40AM -1000, FreeBSD MAIL wrote: Is this the kernel setting to dislable ctrl-alt-delete from resetting a systtem? If so it

Re:BROKEN_KEYBOARD_RESET

2000-05-12 Thread FreeBSD MAIL
Sorry for the stupid quiestion. I figured it out from LINT that is the options SC_DISABLE_REBOOT # disable reboot key sequence Thanks Richard Puga [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

rexec as root

2000-05-12 Thread Nick Sayer
I would like to gather some opinions in regards to _very slightly_ backing off on rexec's security. rexec makes the following checks, and refuses to allow usage if any are true: uid == 0 password is blank user is in /etc/ftpusers I put it to everyone that the first and

Re: rexec as root

2000-05-12 Thread Jan Grant
On Fri, 12 May 2000, Nick Sayer wrote: I would like to gather some opinions in regards to _very slightly_ backing off on rexec's security. Don't do it? rexec makes the following checks... [ uid==0, password blank, uname in /etc/ftpusers ] I put it to everyone that the first and third

Re: rexec as root

2000-05-12 Thread Poul-Henning Kamp
What you say is correct, but personally I think deprecated really should mean deprecated. There are better alternatives to rexec (ssh - open or otherwise) and they ought to be pushed. FreeBSD provides tools for people, we don't enforce our policy on them. I think the proposed change makes

more still breaks world

2000-05-12 Thread Steve Ames
buildworld still breaks in more (cvsup from around 12:30 EDT)... however it only breaks if you have obj directories: virtual-voodoo# make obj /usr/obj/source/src/usr.bin/more created for /source/src/usr.bin/more virtual-voodoo# make depend sed -e 's/\\//g' -e 's/\"/\\\"/g' -e 's/$/\\n\\/'

Re: Double buffered cp(1)

2000-05-12 Thread Warner Losh
In message [EMAIL PROTECTED] Kris Kennaway writes: : (incidentally, another reason to use -pipe is that the above filenames are : predictable and probably handled insecurely so that another user can cause : any of your files to be overwritten when you compile something. This is : on my list of

Re: BROKEN_KEYBOARD_RESET

2000-05-12 Thread Warner Losh
In message [EMAIL PROTECTED] FreeBSD MAIL writes: : Is this the kernel setting to dislable ctrl-alt-delete from resetting : a systtem? If so it seems to be broken in 4.0-RELEASE. : is there another way of doing this? remaping keyboard perhaps? : : # BROKEN_KEYBOARD_RESET disables the use of the

Re: BROKEN_KEYBOARD_RESET

2000-05-12 Thread Chris D. Faulhaber
On Fri, 12 May 2000, Warner Losh wrote: In message [EMAIL PROTECTED] FreeBSD MAIL writes: : Is this the kernel setting to dislable ctrl-alt-delete from resetting : a systtem? If so it seems to be broken in 4.0-RELEASE. : is there another way of doing this? remaping keyboard perhaps? : : #

Re: rexec as root

2000-05-12 Thread Warner Losh
In message [EMAIL PROTECTED] Nick Sayer writes: : I put it to everyone that the first and third checks are equivalent and : redundant. They are not redundant. They provide a little (although not much) extra security for those sites that have had a root account added by intruders which the admin

Re: Why this works?

2000-05-12 Thread Alfred Perlstein
* Sergey Babkin [EMAIL PROTECTED] [000512 15:23] wrote: Alfred Perlstein wrote: * Ville-Pertti Keinonen [EMAIL PROTECTED] [000511 22:49] wrote: [EMAIL PROTECTED] (FengYue) writes: loop. Now, the third program reads 4K of data from /tmp/pagetest and exit if the 4K data does

Strange behaviour of mtree(8)?

2000-05-12 Thread Andrew L. Neporada
[posted to -questions several days ago, but still no response] It always seems to me that `mtree -c | mtree` should output nothing (because it compares current directory with itself). But recently I noticed very strange thing: andrew@sign ls -la total 4 drwxr-xr-x 2 andrew wheel 512 4 May

Re: Why this works?

2000-05-12 Thread FengYue
This is a silly question, but, Is there anyway to do read/write on the same file without the kernel lock? Thanks! On Fri, 12 May 2000, Alfred Perlstein wrote: * Sergey Babkin [EMAIL PROTECTED] [000512 15:23] wrote: Alfred Perlstein wrote: * Ville-Pertti Keinonen [EMAIL PROTECTED]

Re: kernel panics at boot, how to specify dump device?

2000-05-12 Thread Brian Fundakowski Feldman
This is an easy problem to solve. Drop into ddb, and do a "show disk/device", e.g.: ddb show disk/ad0s1b dev_t = 0xf000b444 This will return to you the dev_t for it. Take this value, and call setdumpdev(dev_t value): ddb call setdumpdev(0xf000b444) The setdumpdev() call should return 0 for

Re: Funny Network Transit Delays

2000-05-12 Thread Mike Nowlin
the other end is set to full. I wouldn't trust any "Auto" settings until it can be assured that it doesn't hurt. Agreed -- from experience with a couple of HP Procurve 2424M switches and various 100Mb cards, the "Auto" setting is less than reliable... My Netgear FA310TX(?) and Intel

Re: Funny Network Transit Delays

2000-05-12 Thread Adam
Are you sure the duplex settings are correct on all nics? If they are on coax or a hub, it should be set to half duplex. If you are connected to a switch or a crossover cable, you may use full duplex on the nic only if the other end is set to full. I wouldn't trust any "Auto" settings until

mremap help ? or no support for FreeBSD ? so do what ?

2000-05-12 Thread nathan
I know that this was discussed in the past but I can't find out what to do ? In Linux if I have to resize a mmap 'ed object I can just use mremap but in FreeBSD if, I want to resize it what do I do ? I have tried writing past where I know the end is and it kinda works ? but why ? Is their

Funny Network Transit Delays

2000-05-12 Thread Yann Ramin
-BEGIN PGP SIGNED MESSAGE- Hi there. I have an interesting problem (figured it out myself) but I'm wondering why it is occuring. I have a setup with Two FreeBSD machines (3.2 and 4.0 RELEASE), a Windows machine, and a NetBSD machine. The NetBSD machine has three 3Com 3C509/B NICs