Re: kern/99979: Get Ready for Kernel Module in C++

2006-07-11 Thread Warner Losh
It's less ugly than it used to be, esp. with the bus_read_X() stuff. There's no separate bus_alloc_resource/bus_setup_intr for interrupts though for example, just bus_setup_intr() equivalent. This is pretty simple though: /* OS X */ IOMemoryMap *myBarMap; void *myBar;

Re: Get pid of child that has exited?

2007-07-20 Thread Warner Losh
How does one get the pid if a child process that has exited? On other systems this is available in siginfo_t but si_pid seems to be 0. Is that normal? wait4, wait3 and waitpid will all return it: If wait4(), wait3(), or waitpid() returns due to a stopped, continued, or terminated

Re: [patch] enhance powerd(8) to handle max temperature

2007-08-02 Thread Warner Losh
From: Nate Lawson [EMAIL PROTECTED] Subject: Re: [patch] enhance powerd(8) to handle max temperature Date: Thu, 02 Aug 2007 10:08:33 -0700 M. Warner Losh wrote: In message: [EMAIL PROTECTED] Nate Lawson [EMAIL PROTECTED] writes: : Hajimu UMEMOTO wrote: : On Mon, 30 Jul 2007

Re: Video memory as swap under FreeBSD

2007-10-12 Thread Warner Losh
From: Kevin - Your.Org [EMAIL PROTECTED] Subject: Re: Video memory as swap under FreeBSD Date: Fri, 12 Oct 2007 11:54:23 -0500 On Oct 12, 2007, at 11:07 AM, Stefan Esser wrote: Vladimir Terziev schrieb: You're right, the swap, typically configured, is much more than the amount

Re: Microsoft performance (was: ...)

1999-06-26 Thread Warner Losh
In message [EMAIL PROTECTED] Matthew Hunt writes: : Security holes are rarely in the kernel, and you can easily keep your : applications up-to-date without rebooting. And the ones that re in the kernel tend to be DoS type problems that force a reboot anyway :-( Warner To Unsubscribe: send

restricted kernel threads implementation from NetBSD via newconfig

1999-06-28 Thread Warner Losh
I'd like to bring a kernel thread implementation, ported from NetBDS by the newconfig project, into the kernel. Who would like to review things before they go into the tree? I can see many benefits for having this in the tree, but very little downside. This should allow people to more easily

Re: pccard problems

1999-07-01 Thread Warner Losh
In message [EMAIL PROTECTED] Greg Lehey writes: : Is that what you meant? No. You need to set machdep.pccard.pcic_irq to be zero in your boot loader. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: UMAX scsi scanner on adaptec 1542 Card

1999-07-02 Thread Warner Losh
In message [EMAIL PROTECTED] Greg Skafte writes: : since this is the only device on the aha card experimental aha drivers : are welcome . (remember though that the target is RELENG_3 not current) OK. I'll make sure that justin's changes are included in the -stable driver and if not send

Re: Porting LILO to FreeBSD

1999-07-03 Thread Warner Losh
In message [EMAIL PROTECTED] Graham Wheeler writes: : The only reason I even want to do this is that I still have a number : of old DOS games that won't work under Win95. And dosemu and Wine : just don't cut it either, unfortunately. I have a friend that wants to boot FreeBSD on his IDE drive,

Re: Porting LILO to FreeBSD

1999-07-03 Thread Warner Losh
In message [EMAIL PROTECTED] Adrian Filipi-Martin writes: : The standard boot partition selection softwre also works fine : booting windoze OS's from other disks. All you need to do is set the "disk : id" in the DOS MBR to the correct number, 0x81 for your second disk. That's : the only

Re: The busspace modernization initiative.

1999-07-04 Thread Warner Losh
In message [EMAIL PROTECTED] Doug Rabson writes: : I think you are on the right lines here. Where does the resource come : from? Are you going to support bus_space_map() and if so, how are you : planning to call BUS_ALLOC_RESOURCE? In i386/i386/resource.c :-). Here's what is there now. It

Re: Pictures from USENIX

1999-07-05 Thread Warner Losh
In message [EMAIL PROTECTED] Bill Fumerola writes: : It also clears up the misconception that being a member of -core requires : a beard. If it did, then Jordan would be out. :-) Justin too. Those are the only two core members that I can even recall what they looked like... I don't think I've

Re: Pictures from USENIX

1999-07-05 Thread Warner Losh
-105.3 " , merry, passe" # Boulder, CO (wow!) Warner Losh, Ken Merry, Steve Passe and (until recently) Sean Kelly. Boulder is a small town, since I used to work with Ken, Sean and Justin. I now work with Steve Passe : largest concentration so far is Boulder Color

Re: Pictures from USENIX

1999-07-05 Thread Warner Losh
In message Pine.GSO.3.95q.990705091442.676N-10@elect8 Nick Hibma writes: : For your information : http://www.mapblast.com : specifies LongLat at the bottom of the page when you are looking at a : map. Just move the icon to the right place. That puts my current employer at 40.029322,

Re: FreeBSD for mips

1999-07-09 Thread Warner Losh
In message [EMAIL PROTECTED] Doug writes: : I'd just like to offer a hearty hi-ho for a MIPS version of : freebsd. I'd love to be able to put some of these !*#@$* Cobalt Raqs we : have round here to a wholesome purpose. :) Of course doing the install : would be a lot of fun with no floppy

Re: a BSD identd

1999-07-10 Thread Warner Losh
In message [EMAIL PROTECTED] Sheldon Hearn writes: : If you do end up messing with inetd's existing ident service, please : make sure that the default behaviour remains the same and that the : operator must do something to enable an ident service that reports more : than just "UNKNOWN-ERROR".

Re: a BSD identd

1999-07-10 Thread Warner Losh
: I don't see a point to that. Some ftpd and sendmail servers make the queries. When I have my fake identd in place, they go much faster... :-) Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: a BSD identd

1999-07-10 Thread Warner Losh
In message [EMAIL PROTECTED] Ben Rosengart writes: : I used to run a public shell machine, and one of my users cracked : someone else's site. Identd made it much easier to figure out who the : problem user was. Unfortunately, I've seen the dark side of identd which makes me *HATE* it with a

Re: a BSD identd

1999-07-10 Thread Warner Losh
In message [EMAIL PROTECTED] Chris Costello writes: :The whole point of ident was -- and still is -- to : authenticate or verify who created a specific TCP connection. NO. The IDENT protocol was never intended to authenticate who was on the other end. *NEVER*. People ABUSED it as such,

Re: PCCARD and Vpp voltage

1999-07-10 Thread Warner Losh
In message [EMAIL PROTECTED] Bill Paul writes: : - Why is the vpp voltage alwats left at 0? I think that is what the standard suggested. Since I've not yet recieved the standard, I can't look it up. : - Is it safe for me to change the code so that it's set to 5 volts? : Obviously I'm going

Re: a BSD identd

1999-07-10 Thread Warner Losh
In message [EMAIL PROTECTED] Chris Costello writes: :I was only specifying what I gathered from the RFC. What was : ident actually intended for, then? It was at best a way to track back malicious connections for log files after the fact. Only after the initial standard came out did people

Re: a BSD identd

1999-07-11 Thread Warner Losh
In message [EMAIL PROTECTED] "Brian F. Feldman" writes: : Good idea. I'll have it check to see that it's a regular file. Make sure that you do this with the stat, open, fstat interlocking so that there isn't a race here. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: a BSD identd

1999-07-11 Thread Warner Losh
In message [EMAIL PROTECTED] John Polstra writes: : Really?? Even though their connect() call failed? Ick! I know : sendmail doesn't behave that way. I'll take your word about the IRC : daemons -- I don't know anything about them. Yes. At least that's what I've observed. However, I believe

Re: a BSD identd

1999-07-11 Thread Warner Losh
In message [EMAIL PROTECTED] "Brian F. Feldman" writes: : I have this fixed in my latest code (on freefall of course). I did not : use an original stat because that's pointless, as it adds another race : condition. The only downside to my approach is that if it's a symlink : to a dev, the dev

Re: PCCARD and Vpp voltage

1999-07-11 Thread Warner Losh
In message [EMAIL PROTECTED] Wes Peters writes: : Didn't my message from yesterday make it to the list? On card insert, : you're supposed to read the voltage requirements for Vcc and apply *that* : voltage to Vcc, Vpp1, and Vpp2. If it did, I missed it... Warner To Unsubscribe: send mail to

Re: a BSD identd

1999-07-11 Thread Warner Losh
In message [EMAIL PROTECTED] "Brian F. Feldman" writes: : Ahh, I misunderstood you. In _this_ case you just proposed, the stat is : really pointless. What good would it do? It would let you know if you should even try to open the file... But that doesn't solve the race. The fstat tells you if

Re: PCCARD and Vpp voltage

1999-07-11 Thread Warner Losh
In message [EMAIL PROTECTED] Wes Peters writes: : From this, I'd say the card inserted event should read the Vcc wanted : value (from the Socket Present State Register?) and apply THAT voltage : to Vcc, Vpp1, and Vpp2, rather than just applying 5.0 volts. You might : seriously damage any 3.3v

Re: keymapping continued ...

1999-07-12 Thread Warner Losh
In message [EMAIL PROTECTED] The Hermit Hacker writes: : I need to build a keyboard map such that: : : F1 == ESC OP : F2 == ESC OQ : Shift-F1 == ESC [31~ : Shift-F2 == ESC [32~ Why not do this with Xterm translations? Generally speaking xmodmap and friends are poor choices

Re: Reading CIS from kernel?

1999-07-14 Thread Warner Losh
In message [EMAIL PROTECTED] "David O'Brien" writes: : Since no one has repsonded to this querry, I will be un-staticizing these : so they will be available to drivers. No. Please don't. This is the first I've seen this. There will be another cis reading interface as part of the

Re: Reading CIS from kernel?

1999-07-14 Thread Warner Losh
In message [EMAIL PROTECTED] Scott Mitchell writes: : Ugh. In that case, can someone back out Poul-Henning's changes to the : if_xe.c in the -STABLE tree? That's (I hope) the only thing stopping it : from working. At least that way only my code will be bogus :-) Believe : me, I know it's

Re: changing argv[0] after fork()

1999-07-14 Thread Warner Losh
In message [EMAIL PROTECTED] Wayne Cuddy writes: : Even though I am developing on FBSD is there a "more portable" way to do this? No. Well, not short of execing. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: OpenBSD's strlcpy(3) and strlcat(3)

1999-07-15 Thread Warner Losh
In message [EMAIL PROTECTED] Mike Smith writes: : if (strlen(buf) = sizeof(buf)) : return(error); This can never be true with the strl functions They don't run off the end, so strlen(buf) is always going to be sizeof(buf) since it doesn't include the traling null.

Re: OpenBSD's strlcpy(3) and strlcat(3)

1999-07-15 Thread Warner Losh
In message [EMAIL PROTECTED] Mike Smith writes: : What's really stupid is that most of the time you're trying to use : these functions to fix code that looks like: : strcpy(buf, str1); : strcat(buf, str2); : strcat(buf, str3); : without overflowing buf. This is dumb! Use

Re: OpenBSD's strlcpy(3) and strlcat(3)

1999-07-15 Thread Warner Losh
In message [EMAIL PROTECTED] Mike Smith writes: : Ugh. Take the first example in the paper; it rewrites as : : len = asprintf(path, "%s/.foorc"); : : as opposed to : : strlcat(path, homedir, sizeof(path)); : strlcat(path, "/", sizeof(path)); : strlcat(path, ".foord",

Re: OpenBSD's strlcpy(3) and strlcat(3)

1999-07-15 Thread Warner Losh
In message 19990715194203.A54146@mad Tim Vanderhoek writes: : Looking at OpenBSD's actual definition of strlcat() which returns the : number of chars that would have been in the final string is : potentially non-useful, but not really too terrible. No. It is useful. If you look at the

Re: OpenBSD's strlcpy(3) and strlcat(3)

1999-07-15 Thread Warner Losh
In message [EMAIL PROTECTED] Mike Smith writes: : I still think this is the wrong way to deal with the problem. 8) We mildly disagree here. The strl* functions are the end all, be all of security. They are just designed to make the existing code that uses static buffers easy to make more

Re: OpenBSD's strlcpy(3) and strlcat(3)

1999-07-15 Thread Warner Losh
In message [EMAIL PROTECTED] Warner Losh writes: : We mildly disagree here. The strl* functions are the end all, be all : of security. NOTE: This should have read: We mildly disagree here. The strl* functions are NOT the end all, be all of security. which changes its meaning quite a bit

Re: OpenBSD's strlcpy(3) and strlcat(3)

1999-07-15 Thread Warner Losh
In message [EMAIL PROTECTED] Sheldon Hearn writes: : If you see my point, let me know and I'll send you an alternative : strlcpy.3 . I can see your point. I don't know if I'll like your man pages better or not, but I'd be willing to give them a spin. Warner To Unsubscribe: send mail to

Re: telnetd

1999-07-18 Thread Warner Losh
In message [EMAIL PROTECTED] Peter Jeremy writes: : There's nothing stopping you unifdefing telnetd on your system. I : have no opinion as to the merits (or otherwise) of leaving the : ifdef's in the main code tree. True, but since some of what I'm doing is making sure that there are no

Re: glibc

1999-07-19 Thread Warner Losh
(most of it are due to lack of a real getopt routine). FreeBSD does have a real, 100% posix compatible getopt. Maybe you are missing one of the numerous, non-standard Linux extentions? Gnu's getopt can be found in about a dozen different places in the FreeBSD tree. cvs, tar, etc. Warner

Re: glibc

1999-07-19 Thread Warner Losh
In message [EMAIL PROTECTED] Per Lundberg writes: : I know it isn't standard. But it works well, and is used by a lot of : programs. Perhaps it should have been put in another library than libc, : though. Actually, I'd better suggest this to the GNU people right ahead. There has been talking of

Re: glibc

1999-07-19 Thread Warner Losh
In message [EMAIL PROTECTED] Chris Costello writes: : getopt other than --foo-bar flags that everyone I know hates? Not everyone hates them... Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Sv: speed of file(1)

1999-07-20 Thread Warner Losh
Maybe the P60 is memory starved. Thrashing would cause this huge factor of speed difference... Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: PAO

1999-07-20 Thread Warner Losh
In message [EMAIL PROTECTED] Geoffrey Robinson writes: : pccardc: /dev/card0: Device not configured Rebuild your kernel with pccard support. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: [FreeBSD-net-jp 1746] [FYI] Adaptec AIC-6915 Starfire ethernet controller driver and plus question compaq presario dec et

1999-07-22 Thread Warner Losh
[[ Warning, you'll need something which can display Kanji to be able to read what I've written. I'm using mule and netscape. I've tried to make the non-Japanese parts separate enough that if you only understand English and have only english viewing programs, you can safely ignore

Re: SURVEY: Sound cards that work under FreeBSD

1999-07-23 Thread Warner Losh
In message [EMAIL PROTECTED] Dirk GOUDERS writes: : My sound card is a SBPCI128 by Creative Labs. Nice card... I have one too. Plays mp3 well :-). Also plays video sound well and xgalaga works with sound!... NOTE: The SBPC64 doesn't work without an external patch... Be careful. : I only

Re: mbuf leakage

1999-07-25 Thread Warner Losh
In message [EMAIL PROTECTED] "David E. Cross" writes: : Any-who, is there a way I can get a look at the raw mbuf/mbuf-clusters? : I have a feeling that seeing the data in them would speak volumes of : information. Preferably a way to see them without DDB/panic would be ideal. I've also seen

Re: Mentioning RFC numbers in /etc/services

1999-07-25 Thread Warner Losh
In message [EMAIL PROTECTED] Chris Costello writes: :Are you going to be listing all the RFCs that apply? For : example, DNS is 1033, 1034, and 1035, and NNTP is 0850 and 0977. DNS is also 1123 and a few others in the 2xxx range. Then again, a lot are 1123 :-) NNTP should just list 977,

Re: deny ktrace without read permissions?

1999-07-25 Thread Warner Losh
In message [EMAIL PROTECTED] Sheldon Hearn writes: : This doesn't look right. If I can execute a binary, I can have the : system allocate memory to me and but the binary image in it. It's my : memory. :-) Also, one can use a custom libc to get around the readonly ness, since functions in libc

Re: SURVEY: Sound cards that work under FreeBSD

1999-07-26 Thread Warner Losh
In message [EMAIL PROTECTED] Dirk GOUDERS writes: : What I still don't understand is the following message at boot time: : pcm1: using I/O space register mapping at 0xe400 : I am wondering why there is a message concerning pcm1 instead of pcm0... Quirks in config system in -stable

Re: replacing grep(1)

1999-07-28 Thread Warner Losh
In message [EMAIL PROTECTED] "David O'Brien" writes: : Before importing, it must display a version number of 1.0 (or drop the : version number). This is not Linux where everything is version 0.xy. For a long time the new boot loader was in the tree with a version 0.xx... Warner To

Re: interesting bug in /usr/bin/cmp

1999-07-29 Thread Warner Losh
In message [EMAIL PROTECTED] "Brian F. Feldman" writes: : if ((p1 = (u_char *)mmap(NULL, : - (size_t)length, PROT_READ, MAP_SHARED, fd1, off1)) == (u_char *)MAP_FAILED) : + (size_t)mlength, PROT_READ, MAP_SHARED, fd1, off1)) == (u_char :*)MAP_FAILED) :

Re: So, back on the topic of enabling bpf in GENERIC...

1999-07-30 Thread Warner Losh
In message [EMAIL PROTECTED] "Jordan K. Hubbard" writes: : It already is. That's not the question under discussion here - we're : talking about how to make things work in the post-installation boot : scenario. I'm in favor of having it in the kernel by default. With one proviso. Any place

Re: So, back on the topic of enabling bpf in GENERIC...

1999-07-30 Thread Warner Losh
In message [EMAIL PROTECTED] "Brian F. Feldman" writes: : And how about having : if (securelevel 3) : return (EPERM); : in bpf_open()? There are no security levels 3. I'd be happy with 0. This is consistant with the meaning of "raw devices". Warner To Unsubscribe:

Re: So, back on the topic of enabling bpf in GENERIC...

1999-07-30 Thread Warner Losh
In message [EMAIL PROTECTED] Alfred Perlstein writes: : What about the one-way sysctls that have been suggested? They need to be implemente dfirst. A quick securelevel 0 in bpf_open would allow many people's objections to bpf in the kernel by default. Warner To Unsubscribe: send mail to

Re: So, back on the topic of enabling bpf in GENERIC...

1999-07-30 Thread Warner Losh
In message [EMAIL PROTECTED] "Jordan K. Hubbard" writes: : There are no security levels 3. I'd be happy with 0. This is : consistant with the meaning of "raw devices". : : Would you be willing to make this change? Yes. I will make this change tomorrow unless there is significant

Re: So, back on the topic of enabling bpf in GENERIC...

1999-07-31 Thread Warner Losh
In message [EMAIL PROTECTED] Christopher Masto writes: : I hope you mean " 1". I often diagnose problems using tcpdump etc., : and I don't think bpf should be broken just because someone wants the : minor "flags can't be turned off" feature of level 1. Flags can't be turned off at level 1, and

Re: So, back on the topic of enabling bpf in GENERIC...

1999-07-31 Thread Warner Losh
In message [EMAIL PROTECTED] Bernd Walter writes: : There are no security levels 3. I'd be happy with 0. This is : consistant with the meaning of "raw devices". : That would mean you can't run a secured DHCP server :( No. That would mean you'd have to start DHCP before raising the secure

Re: Mentioning RFC numbers in /etc/services

1999-08-01 Thread Warner Losh
In message [EMAIL PROTECTED] John-Mark Gurney writes: : I vote for allowing inetd.conf to specify a port number instead of a : service name... it should be very easy to make the modification, and : I'm willing to do all the work, assuming no one on -committers objects.. I'd love to be able to

Re: Proposing argv for klds and preloaded modules

1999-08-02 Thread Warner Losh
In message [EMAIL PROTECTED] "Daniel C. Sobral" writes: : Modules are not just drivers. Forget about drivers, and try again. : :-) But the generic mechanism extends beyond just drivers :-) Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of

Re: Mentioning RFC numbers in /etc/services

1999-08-02 Thread Warner Losh
In message [EMAIL PROTECTED] Dag-Erling Smorgrav writes: : Allow me to re-quote the message I answered: : : I vote for allowing inetd.conf to specify a port number instead of a : service name... I've said it before, and I'll say it again: This is an excellent idea! Warner To Unsubscribe:

Re: Mentioning RFC numbers in /etc/services

1999-08-02 Thread Warner Losh
In message [EMAIL PROTECTED] Dag-Erling Smorgrav writes: : Daniel Eischen [EMAIL PROTECTED] writes: : Dag-Erling Smorgrav wrote: : The correct way to do this is to fix getservbyname() so it accepts : port numbers. : Are you sure this is what you want? I'm 100% positive that I want this. :

Re: Mentioning RFC numbers in /etc/services

1999-08-02 Thread Warner Losh
In message [EMAIL PROTECTED] Bill Fumerola writes: : Copying the telnet line and changing the first word to 'http' does wonders : for being to access machines from inside a school district's firewall. What if the service has no name? : Choosing ports by number would be nice, however the same

Re: Mentioning RFC numbers in /etc/services

1999-08-02 Thread Warner Losh
In message [EMAIL PROTECTED] Darren Reed writes: : Why not just use the changes NetBSD made to their inetd ~6 years ago ? Didn't know about them? Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Mentioning RFC numbers in /etc/services

1999-08-02 Thread Warner Losh
In message [EMAIL PROTECTED] Brian Somers writes: : Yes, but do it the other way 'round - strtol first, if it's not all : numeric, getservbyname(). I did it getservbyname first in case there were any legacy services that were all numbers. Traditionally, this is hwo things were done with IP

Re: Mentioning RFC numbers in /etc/services

1999-08-02 Thread Warner Losh
In message [EMAIL PROTECTED] Brian Somers writes: : Exactly - ditto for gethostbyname(). In the case of gethostbyname(), : I believe that domain names can't have a number as the first : character - I would have thought this idea should follow through with : services. No. That is in error.

Re: Building a new kernel

1999-08-04 Thread Warner Losh
In message [EMAIL PROTECTED] Osokin Sergey writes: : try to cvsup your source tree to 4.0, then rebuild your system : with simply make world procedure. I can't do that. This system *MUST* be a 3.2-stable system. I was building the kernel to test to see if a nasty NFS bug I've found in -stable

Re: Building a new kernel

1999-08-04 Thread Warner Losh
In message [EMAIL PROTECTED] David Scheidt writes: : Read the docs? Who me? It sounds like the 3.X to 4.0-RELEASE documentation : should say not to do this. Unless, of course, gcc-2.95 is imported before : t hen. Give me a F*ing break. No such documetation exists and the more that we

Re: IDE quirk in 3.2-STABLE kernel ?

1999-08-06 Thread Warner Losh
In message 001201bedfb8$92fa3440$[EMAIL PROTECTED] "Biju Susmer" writes: : I dont think it should be a problem.. Since other OSs can work with this : configuration without any problem, why FBSD should refuse this configuration? : When i was using 2.2.7-stable, FBSD used to recognize my CDROM

Re: IDE quirk in 3.2-STABLE kernel ?

1999-08-06 Thread Warner Losh
In message [EMAIL PROTECTED] "Brian F. Feldman" writes: : Since it was made to work? The problem here is that this person, for some : reason, is misconfiguring their system and expecting it to work as if it : were configured properly. Odd, all of the machines that I've seen shipped lately have

Re: cvs

1999-08-06 Thread Warner Losh
In message [EMAIL PROTECTED] John Baldwin writes: : Perhapas have a group that has write access to all the archive and stick the : user in that group? That doesn't prevent checkins, however. You can do that inside the respository itself. Just try to do a commit on your local mirror of the

Re: IDE quirk in 3.2-STABLE kernel ?

1999-08-06 Thread Warner Losh
In message [EMAIL PROTECTED] Chris writes: : As always when a misconfiguration (read 'not to spec') is used enough : then it quickly becomes somewhat of a de facto standard. I'd love to see chapter and verse on this :-) Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: cvs

1999-08-06 Thread Warner Losh
In message [EMAIL PROTECTED] Bill Fumerola writes: : cvsup seems to set the wrong attributes after I've forced them to work : that way. I see this when I cvsup as root too (although the file you quoted should be r--r--r--. I can't get the modes on the directories to be 775... Warner To

Re: quad_t and portability

1999-08-06 Thread Warner Losh
In message [EMAIL PROTECTED] "Brian F. Feldman" writes: : You can always use off_t with "%qd", (int64_t)foo. But that isn't portbale. %qd is a bsdism. %lld and %llu are the latest C standards way to say that. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: quad_t and portability

1999-08-06 Thread Warner Losh
In message [EMAIL PROTECTED] "Brian F. Feldman" writes: : Sorry, kinda used to quad rather than long long. I'm pretty sure ll : isn't yet supported by the kernel printf functions... You may be right about that. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: Parallel Zip Drive on FreeBSD 3.2-RELEASE

1999-08-08 Thread Warner Losh
In message 11366.934157821@localhost "Jordan K. Hubbard" writes: : I have a parallel port Iomega Zip Drive. I have installed 3.2-RELEASE and : although the vpo0 is detected it does not see da0, and when I try "mount -t : : I'm not surprised, since da0 would be a SCSI device. But vpo0 is a

Re: gethostbyaddr() and threads.

1999-08-10 Thread Warner Losh
In message [EMAIL PROTECTED] "Daniel C. Sobral" writes: : Well, Terry does, though I don't quite recall his reasoning. :-) : Notice, he objects the way FreeBSD is today, with the bind resolver : API inside libc. The size of _res has changed. Although it starts with an _, it is officially part

Re: Disk label recovery - request for suggestions.

1999-08-11 Thread Warner Losh
In message [EMAIL PROTECTED] Dag-Erling Smorgrav writes: : superblock (or one of its backup copies), you can determine the offset : and size of the FS. It won't tell you anything about *other* : partitions though. It will give a fairly strong hint, however. If you know what is taken up by this

Re: BSD XFS Port BSD VFS Rewrite

1999-08-11 Thread Warner Losh
In message [EMAIL PROTECTED] Kenny Drobnack writes: : This may be a stupid question, but what's to keep from putting xfs in : FreeBSD? Is there something in the licenses that says you can't use : GPL'ed software and software under the BSD License together? The BSD license allows binary only

Re: libcompat proposition

1999-08-11 Thread Warner Losh
In message [EMAIL PROTECTED] "Brian F. Feldman" writes: : What do you all think about growing a gnu subdirectory in src/lib/libcompat? : Things like a getopt_long implementation (yes, if it will be accepted, : I am volunteering to write it...) would go there, and all sorts of lame : GNU libc

Re: libcompat proposition

1999-08-12 Thread Warner Losh
In message [EMAIL PROTECTED] Steve Kargl writes: : If you're writing unencumbered code, placing it under : libcompat/gnu may lead to confusion because all other : directory paths containing gnu contain GPL'd code. : Just stick it into libcompat. Or libiberty :-) That way we can have a GPL-free

Re: libcompat proposition

1999-08-12 Thread Warner Losh
In message [EMAIL PROTECTED] "Brian F. Feldman" writes: : There : is simply no reason to assume that anything under a gnu directory is GPLd, : or that anything GPLd is going to be under a gnu directory (which it's not.) I'm afraid there is. It has been stated many times in the past that all

Re: (2) hey

1999-08-12 Thread Warner Losh
In message [EMAIL PROTECTED] "Louis A. Mamakos" writes: : It violates the "starts with alpha" "requirement" in 952 and 1101 : that you quotes, yet we use these things all the time. That requirement has been relaxed. See RFC 1123. Bottom line is that _ is an illegal character in a hostname,

Re: (2) hey

1999-08-12 Thread Warner Losh
In message 25455.934497542@localhost "Jordan K. Hubbard" writes: : So Solaris does the right thing by understanding underscore I guess. : Since it is not forbidden to use it in hostnames. : : It does not do the right thing and it is indeed forbidden. :) Also, all modern versions of bind

Re: BSD XFS Port BSD VFS Rewrite

1999-08-16 Thread Warner Losh
In message [EMAIL PROTECTED] Narvi writes: : Nintendo 64 uses MIPS. : : : Which doesn't matter all that much. MIPS cpus for nintendo could be made : by say MISP, not SGI (and SGI sold/is trying to sell MIPS). Acutally, the Nintendo 64 uses the Vr4300 series of chips from NEC. I think the

Re: Need some advice regarding portable user IDs

1999-08-17 Thread Warner Losh
In message [EMAIL PROTECTED] "Daniel O'Connor" writes: : How about just adding some flags to mount and modifying UFS so that : you can override the uid/gid on mount.. I assume you mean Joe uses : something like sudo so he can mount the disk.. Doesn't umapfs do that? Warner To Unsubscribe:

Re: Onstream?

1999-08-17 Thread Warner Losh
In message [EMAIL PROTECTED] Christopher Masto writes: : Do they still not allow you to release the specs? How is the code : going to become part of FreeBSD if they won't allow its release? I didn't sign an NDA to get my copy of the spec or the hardware... I also don't have time to devote to

Re: lpd security check for changed-file vs NFS

1999-08-18 Thread Warner Losh
In message [EMAIL PROTECTED] David Scheidt writes: : Couldn't you turn it off only for NFS mounted files? For the general case (eg the code checked into the system), the check needs to remain enabled. Anything else is insecure. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: device_add_child??

1999-08-20 Thread Warner Losh
In message [EMAIL PROTECTED] "David E. Cross" writes: : I have been writing a nasty kludge to treat a CardBus bridge as a standard : PCI bridge (with static config) you may start throwing rocks now. Ewe. Yuck. Wouldn't it be better to help the pccard/cardbus efforts :-) : I have : it to the

Re: from number to power of two

1999-08-21 Thread Warner Losh
In message [EMAIL PROTECTED] Nick Hibma writes: : Does anyone know an inexpensive algorithm (O(1)) to go from an number to : the next (lower or higher) power of two. 1 ffs(x) Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: pthread_set_concurrency()

1999-08-21 Thread Warner Losh
In message [EMAIL PROTECTED] Nate Williams writes: : Your definition of kernel threads and mine are obviously quite : different. :) True. The kernel "threads" are just process context that a task can run in Lots of thread-like things are missing... Warner To Unsubscribe: send mail to

Re: Mandatory locking?

1999-08-23 Thread Warner Losh
When I did a remote geographic disk based mirroring product a few years ago, I just had an ioctl that said that this disk was special for a while. Then the open routine would fail. This flag was cleared in the close routine (and by the companion ioctl). I did allow users to open the device w/o

Re: [freebsdcon] radisson reservation

1999-08-25 Thread Warner Losh
In message [EMAIL PROTECTED] Bill Fumerola writes: : It took me 10 minutes of explanation for the reservation clerk to finally : figure out just what the hell I was talking about. WC CDROM did the : trick. My clerk just started reading down the names. When I heard walnut creek cdrom, I said

Re: (forw) FreeBSD (and other BSDs?) local root explot

1999-08-26 Thread Warner Losh
In message [EMAIL PROTECTED] Julian Elischer writes: : quickest fix would be to make the core-dump routines not follow symlinks. An even quicker fix would be to disable coredumps in periodic, since no reboot would be required. :-) As has been noted in -security, the kernel fix has been

Re: Seeking testers for change to lib/libc/gen/fts.c

1999-08-26 Thread Warner Losh
In message [EMAIL PROTECTED] Peter Holm writes: : The patch is available at http://www.freebsd.org/~pho/fts.diff You might want to work with Bruce Evens who has patches as well.. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the

Re: [mount.c]: Option user-patch

1999-08-29 Thread Warner Losh
In message [EMAIL PROTECTED] Kris Kennaway writes: : Could someone do this before 3.3? It's useful functionality. As the committer of this feature, I've just sent mail to jkh asking for permission. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in

Re: More than 32 signals. Thought?

1999-08-30 Thread Warner Losh
In message [EMAIL PROTECTED] Sheldon Hearn writes: : : : The Linux trick I like to add is to have sigset_t always be the last : field in structures so that the impact of enlarging sigset_t is : minimal. : : On LITTLE_ENDIAN machines? Endian shouldn't matter. An array at the end of a

Re: KAME IPv6 and freebsd

1999-08-31 Thread Warner Losh
In message [EMAIL PROTECTED] Poul-Henning Kamp writes: : Hmph. I guess common sense wins over ITAR in this case. :) : : That's certainly an improvement in that particular battle :-) Speaking of ITAR, has anybody actually every approached FreeBSD to say what we're doing is in violation of ITAR?

Re: StarOffice giveaway of source code

1999-09-01 Thread Warner Losh
In message [EMAIL PROTECTED] The Hermit Hacker writes: : From a marketing standpoint, wouldn't it make for some seriously bad press : for Sun to state "open source" and then turn around and not do it? *raised : eyebrow* Those who don't know about history are doomed to repeat it. Sun originally

Re: Proposal: Add generic username for 3rd-party MTA's

1999-09-01 Thread Warner Losh
In message [EMAIL PROTECTED] Sheldon Hearn writes: : This has nothing to do with what's in the base system. This has to do : with making it easier for people to run 3rd-party software, which isn't : part of the base system, in a non-priveledged state. I think this is a good idea. Plesae don't

  1   2   3   4   5   6   7   8   9   10   >