Re: /bin/df set-gid operator
On Sat, 21 Apr 2001, Oliver Fromme wrote: Paul Herman [EMAIL PROTECTED] wrote: On Sat, 21 Apr 2001, Oliver Fromme wrote: I'm wondering why /bin/df is set-gid to the operator group by default. It's to df filesystems that aren't mounted. Try "df /dev/ad0s1a" (or
Re: /bin/df set-gid operator
Sorry to follow up on my own mail... On Sat, 21 Apr 2001, Paul Herman wrote: This brings up a slightly related question: Now that block devices have been abolished, wouldn't it be a good idea to get rid of the quick mount(2)/umount(2) of /tmp/df.XX to stat the file system? I see now
Changing df [device] behaviour (Re: /bin/df set-gid operator)
fail for non-root users. -Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Fixing ypbind with TI-RPC
Ok. Friday I sat down and tried to make the -m option to ypbind work correctly using the new TI-RPC code. Unfortunately, my test machine chose that day to eat itself. Even more unfortunately, it was an AMD 900Mhz Thunderbird. Today, I started working on another box and managed to get things to
Re: Fixing ypbind with TI-RPC
Why can't you just enable sigio on the reply socket, send all the requests with a 0 timeout and then wait for a signal to either interrupt the sending or to notify you when you complete sending? Your solution seems awfully complex for what seems to be a simple problem; doing a
Re: newcard/cardbus instabilities
That's a bit ugly. xl0: 3Com 3c575C Fast Etherlink XL port 0x3000-0x307f mem 0x4402-0x4403,0x44002480-0x440024ff,0x44002400-0x4400247f irq 10 at device 0.0 on cardbus1 xl0: chip is in D6 power mode -- setting to D0 I'm a bit worried about this; "D6" doesn't really exist,
Re: Fw: Stop annoying message of lnc
to load/unload the probe functions as we do hardware probing and then only pull in the rest of the driver when we associate that driver to the device. I think the fix should probably be committed and the driver turned into a single monolithic module. Yes, Paul essentially agreed to my doing
Re: Ethernet entropy harvesting seriously pessimizes performance
n recently but random hasn't caused half the turmoil that some other changes have so it's unfair to pick on it as a major problem. I think Peter gets the award for causing most downtime in -current recently, which is quite a feat given the SMP work taking place :-) Paul. To Unsubscribe: send mail to [EMAIL
kernel build failure
Hi all From sources cvsup'd about an hour ago, "make depend" complains: ../../dev/ed/if_ed_pccard.c:58: miibus_if.h: No such file or directory and fails. This is after deleting the old kernel build dir. Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe
Re: Patch for FILE problems (was Re: -CURRENT is bad for me...)
tify which specific version of a library is installed. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Patch for FILE problems (was Re: -CURRENT is bad for me...)
2001-02-15
Thread
Paul Richards_imap/mail.originative.co.uk/Inbox.sbd/New Mail.sbd/OpenLDAP.sbd/Devel
David O'Brien wrote: On Thu, Feb 15, 2001 at 11:14:38AM +, Paul Richards wrote: Commercial vendors will skip version numbers in their public releases if their internal development required more than one bump. Which ones? Sun Solaris still ships their libc as "libc.so.1&q
Re: pkg_update
run them so you can do them by hand. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: pkg_update
Will Andrews wrote: On Wed, Feb 14, 2001 at 03:10:14PM +, Paul Richards wrote: The problem is that 'make install' in a port doesn't check dependencies properly, whereas pkg_install does. Uh, actually, 'make install' does a better job. pkg_install has no clue about substitute
Re: Patch for FILE problems (was Re: -CURRENT is bad for me...)
based on the branch actually makes a lot of sense. Paul Richards To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Patch for FILE problems (was Re: -CURRENT is bad for me...)
David O'Brien wrote: On Tue, Feb 13, 2001 at 04:24:00PM +, Paul RichardsF wrote: When we dropped minor numbers I had a worry that we'd run into one of Windows' greatest problems and we have. Applications that are developed and tested to work with a particular library might not work
sh can't be exec'd
Hi all For the last week, each kernel built with fresh source code cannot exec sh. I've seen a lot of emails about this, but most were about the "correct" way to rebuild a system. Is this a problem affecting only me? Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with &q
Re: sh can't be exec'd
d booted single user. 526188 sh, without resorting to a fixit disc. Thanks for your reply! Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: [CFR] number of processes forked since boot
On Wed, 17 Jan 2001, Hajimu UMEMOTO wrote: I received the patch to add counter for fork() set from Paul. I've tested it on my -CURRENT and -STABLE boxes, and it seems fine for me. So, I post his patch for review. I do have a change (I knew I forgot something.) This is exactly the same
Re: number of processes forked since boot
switches, page faults, etc, doesn't it? This is how OpenBSD does it, anyway. -Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: number of processes forked since boot
On Tue, 16 Jan 2001, Hajimu UMEMOTO wrote: On Mon, 15 Jan 2001 19:46:32 +0100 (CET) Paul Herman [EMAIL PROTECTED] said: pherman I like the idea, but this belongs in vmeter with context switches, pherman page faults, etc, doesn't it? This is how OpenBSD does it, anyway. I see. You mean
Any people with 3c905CX cards out there?
3Com has yet another revision of the Tornado chipset floating around out there on newer 3c905C adapters. Supposedly, these are marked as 3c905CX and have become available within the last couple of months. I've seen some noise on the Linux mailing lists that seems to indicate that some driver mods
Re: cvs commit: src/sys/kern sys_process.c
: Szilveszter ADAM Szeged University Szeged Hungary To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message -- Paul Saab Technical Yahoo [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED] Do You .. uhh .. Yahoo!? To U
Getting at cardbus CIS data from inside drivers
Okay. Recently, David O'Brien handed me an Intel 10/100 Cardbus NIC, which uses the 21143-PB chip. It's a non-MII card (has a Quality Semi symbol PHY). Unfortunately, it looks like Intel has taken a few shortcuts with this card: the serial EEPROM doesn't contain any useful information. Instead,
Re: vx driver patch
Someone (I can't find who in my records, please let me know if it was you so I can credit you in the commit message) sent out patches to make the vx driver not use the pci compat shims. I just found it in my home directory, applied it, tweaked things very minorly and it builds and boots.
Re: Driver Floppy implementation (Re: make release breakage - dokern.sh patch 2)
I'm not sure whether the problem of loading secondary usb modules is a problem in 4.x but it is easy to try. Boot a machine without usb support compiled in. after login, kldload usb, then the miibus and then the if_aue modules. If that works, you should be ok. I cannot test this as at the
Re: if_rl.c broken ? Realtek 8139 not longer recognised.
Hi, I have a realtek ethernet card. The normal dmesg is this: rl0: RealTek 8139 10/100BaseTX port 0xb400-0xb4ff mem 0xd900-0xd9ff irq 10 at device 11.0 on pci0 rl0: Ethernet address: 00:e0:7d:7d:cd:35 miibus0: MII bus on rl0 rlphy0: RealTek internal media interface on miibus0
Re: endian.h problem with gnats port
Looks good to me. Sorry for the hassles. I'll make sure the upstream release gets an extra #include in GNATS v4. On Fri, Oct 27, 2000 at 03:46:55AM -0700, Doug Barton wrote: Harti Brandt wrote: On Fri, 27 Oct 2000, Doug Barton wrote: I'm trying to compile gnats locally, and
Re: DPT SmartRAID V, VI, Adaptec SCSI RAID driver committed
a good quote, maybe it should go in fortune. Paul Richards FreeBSD Services Ltd To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: someone MFC something to -stable recently that would explain...
as updated, but it could have something to do with that. When in doubt after a cvsup, always build world first before building a kernel. -Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: call for testers: init securelevel patch
you cannot attach to pid 1 via the debugger. You can't. Ever since Apr 1997 you couldn't attach gdb to init. -Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
call for testers: init securelevel patch
recieved, I will tack it onto bin/20974 for further review and commit into -CURRENT. -Paul. begin 644 init_securelevel.patch.gz M'XL(")]MSD"`VEN:71?V5C=7)E;5V96PN%T8V@`=5+;3MM`$'V.O^+P M@A(.TY22'`;%*KR0"4H*DA]C#;V)%GAK-W=-2$J_??.KH%R"9(UZ]V9,YS M)XHBF*WIW9)6WLS6AYGK9M5C=-Z"0R1#-
Re: call for testers: init securelevel patch
On Thu, 7 Sep 2000, Zach N. Heilig wrote: On Thu, Sep 07, 2000 at 06:33:20PM +0200, Paul Herman wrote: Here is a patch which will allow init(8) (or rather, any process with PID 1) to lower the securelevel to 0 when going into single-user maintenence mode. This has no effect
the ol' init securelevel thread
* Easy, I'm not married to this idea :-) Just interested "academicaly" So, what dangers are there? -Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
RE: nsswitch changes break world build
I just did a new cvsup on a newly installed 4.1-RELEASE box with src-all so go the complete new tree and go the same error. Paul Petersen Infospace, Inc. 425-201-8966 -Original Message- From: Matthew Jacob [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 06, 2000 3:21 PM
Re: cvs commit: src/sys/pci if_dc.c
Hello Bill, I'm sorry about that. Here's some information that I can gather: 1. The Intel 21143 chips is intergrated in NEC VersaPro NoteBook PC. No LED to indicate the network activity are available. 2. It is connected to 10BaseT Hub (HP 28688B) at half duplex. Ok, two more things:
Re: cvs commit: src/sys/pci if_dc.c
Hello Bill, After the following commit, my system fail to connect to network. If I backout, seems to work again. Any comments appreciated. No no no. *You* are the one who's supposed to make the comments. Like exactly what card do you have (make/model)? Exactly what speed and duplex mode are
Current jumpieness
rol repeat rate is "Fast"?) Anyone else got this? -Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Current jumpieness
he problem as well? Not definitively, but many others have also complained since it went in. I just recompiled without RANDOMDEV and indeed the problems I was seeing went away. Good guess, I guess. :-) -Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe
Linux Netscape
Under my 5.0-C setup here, the Linux netscape takes AGES to load (5min) and is so unresponsive, I have to kill it. I experienced a similar problem with StarOffice 5.2, where performance was just dog slow. Is the Linuxulator broken? -- Cheers, Sean Sean-Paul Rees ([EMAIL PROTECTED]) Web: http
Re: make buildworld br0ken in libutil
discussion as to why the current thinking is to collapse libraries into libc rather than to actually go the other way and modularise the code. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Why no CDR ioctls for SCSI cds?
CDs before.) That didn't seem to work when I tried it a couple of days ago. Got a "device not configured" error. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Why no CDR ioctls for SCSI cds?
Alexander Leidinger wrote: On 23 Aug, Paul Richards wrote: On a vaguely related topic, after much searching I can't seem to see one way or the other if we can do a complete bit-by-bit copy of a cd with either cdrecord or burncd, though it's possible I'm looking in the wrong place
Re: make buildworld br0ken in libutil
t in vogue at the moment. Why does crypt need to be in libc? Not even a significant fraction of applications need crypt? Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Ugly, slow shutdown
ping into the kernel which should really be wrapped in an #ifdef INVARIANTS. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Ugly, slow shutdown
rather than squeeze every inch of performance out of the code, unless there's a real need to optimize in that particular area. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Moused behaving funny in 4.1-STABLE
one thing I am able to reproduce is the 20% interrupt thing: When both the prompt and the mouse are at the bottom of the screen, then it starts eating up interrupt CPU. I'm running 4.1-STABLE from 3 days ago. Ideas? -Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsu
Re: Moused and Yarrow (Re: Moused behaving funny in 4.1-STABLE)
On Tue, 1 Aug 2000, Donn Miller wrote: On Tue, 1 Aug 2000, Paul Herman wrote: When both the prompt and the mouse are at the bottom of the screen, then moused starts eating up interrupt CPU. It has something to do with this whole Yarrow thing. I suppose Yarrow (and dev/urandom
Re: randomdev entropy gathering is really weak
of a clue about these things than I would ever hope to have. (Yes, they also talked about using NTP servers for gathering entropy.) -Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: weird application coredumps ....
wild guess, but this could be because of the recently added /etc/malloc.conf options -- (which are just for debuging purposes for now...) -Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Virus alert, was: Re: SCSI Question
not. It wasn't in the "Content-Type: text/plain" part of the attachment, just the "text/html" part. -Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: bin/19635: add -c for grand total to df(1), like du(1) does
To just monitor a cluster of disks. I'm all for adding options to get features you can't otherwise get (even *IF* the use of "total" is debatable), but c'mon, this is an awk one-liner. I would agree with Sheldon as well. Let this one go. -Paul. To Unsubscribe: send mail to [EMAIL
Re: bin/19635: add -c for grand total to df(1), like du(1) does
nd "slaping 'df -c' into a pie chart" usually intails running it through some parser like this, anyway... or? -Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: bin/19635: add -c for grand total to df(1), like du(1) does
On Thu, 6 Jul 2000, Bill Fumerola wrote: On Thu, Jul 06, 2000 at 06:09:54PM +0200, Paul Herman wrote: Naturally, "no reason not to put it in" is most certainly *not* a reason to put it in. I would like to hear some to sway me one way or the other. [...] [hawk-billf] /
Re: panic in sbdrop on SMP, kernel approx 9 days old
What is the hardware in this box? Do you have an NCR scsi controller using the ncr driver? paul Adam ([EMAIL PROTECTED]) wrote: This morning my cable modem went out and it returned to service while I was out of the room. When I returned I was greeted by fsck; I'm not sure
Re: Panic during boot under current
time Paul :-I Just got back from the Perl cruise, still catching up with things. This may have broken because Paul changed the softc decl from static to just global (so that the other if_lnc*.c modules can get at it) either that or Mark has been ``just lucky'' so far and the lnc driver
Re: Looking for testers for if_dc patches
For reference the ID reported is: de0@pci0:3:0: class=0x02 card=0x chip=0x00191011 rev=0x11 hdr=0x00 Hm, ok. First of all, I made a mistake in what I told you. The code in dcphy.c checks the subsystem ID, not the device ID. The device ID is always the same, since that
Re: Looking for testers for if_dc patches
Hi Bill, I applied your patches to -current without incidents. I have a testbox (Digital dual P6) that gives: May 31 10:56:38 p6 /kernel: dc0: Intel 21143 10/100BaseTX port [...] May 31 11:03:27 p6 /kernel: dc0: watchdog timeout This box can also house an Alpha Miata MX5
Re: Looking for testers for if_dc patches
- There's one interface involved here Correct. - It has a 21143 chip Well, the de driver says 21142. The dc driver says 21143. It's just a difference in chip revision, really. This one does not have AUI so that is not going to be a problem. What I do wonder, though, is what will
Looking for testers for if_dc patches
Several people have reported problems with if_dc botching autonegotiation on 21143 NICs with non-MII media, such as the DEC/Compaq DE500-BA and the built-in 10/100 ethernet on some alphas. As my first official act as a BSDi/WC employee, I sat down and tried to fix this. I produced some patches
Re: Looking for testers for if_dc patches
On Tue, May 30, 2000 at 12:28:25AM -0700, Bill Paul wrote: Several people have reported problems with if_dc botching autonegotiation on 21143 NICs with non-MII media, such as the DEC/Compaq DE500-BA and the built-in 10/100 ethernet on some alphas. As my first official act as a BSDi/WC
Re: Breaking build world costs $5? (was: Can we please have acurrent that compiles?)
part from the hassle involved there's the fact that all told it will cost me in the region of $30-40 to pay the fine! A nice idea but not very practical for the FreeBSD project. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: tcp/ip broken?
Update your source again. This has been fixed. paul Jason J. Horton ([EMAIL PROTECTED]) wrote: Did a cvsup on saturday, make world etc and now TCP/IP networking seems to be broken. dmesg shows the devices, ifconfig configs everything without error, but cant ping, telnet, ssh etc off
Re: TCP becomes very broken just now
://people.freebsd.org/~ps/cksum.diff -- Paul Saab Technical Yahoo [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED] Do You .. uhh .. Yahoo!? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: NFS, rl0 and Alpha
Of all the gin joints in all the towns in all the world, Gary Jennejohn had to walk into mine and say: [...] Yes, this patch fixes the problem. Thank you, Bill Paul ! *sigh* It figures. Ok, I applied the patch to -current and -stable. We now return you to your regularly scheduled program
Re: NFS, rl0 and Alpha
. -- = -Bill Paul(212) 854-6020 | System Manager, Master of Unix-Fu Work: [EMAIL PROTECTED] | Center for Telecommunications Research Home: [EMAIL PROTECTED] | Columbia University, New York City
Re: Workaround for hanging on exit: patch for review
been seeing this as well. Things seem to work fine until a lot of output occurs and then I just get a load of garbage. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: SMP changes and breaking kld object module compatibility
ng the stable branch and preventing the incorporation of genuine fixes, rather than enhancements, is not helping the adoption of FreeBSD by serious commercial users. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: SMP changes and breaking kld object module compatibility
are widely accepted as meaning that stable branches do no undergo ABI changes. Such changes are reserved for major upgrades because of the consequences and risks involved. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Stale modules (Re: panic in the morning)
of times that I've chased a kernel bug before remembering to rebuild modules. I know a timestamp doesn't guarantess ABI compatibility but it solves the most common problem, which is rebuilding a kernel but forgetting to rebuild the modules. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED
Re: Stale modules (Re: panic in the morning)
Will Andrews wrote: On Thu, Apr 20, 2000 at 11:56:08AM +0100, Paul Richards wrote: that rapid developer folks can disable it. ITYM "rabid". And I kinda resent that.. ;-) I really did mean rapid, as in those that are installing kernels every 10 mins to test changes. Though,
Re: FreeBSD Build status
in hacking on FreeBSD, current *should* be for people who want to see long tedious reports on the problems in the current branch. Also, the length of the report should fall dramatically as the problems are addressed and a sudden long report will immediately focus developers attention to the cause.
Re: PCI-CardBus bridge + PCMCIA Lucent WaveLAN IEEE troubles
OS setup screen and turn the parallel port off." -Bill -- = -Bill Paul(212) 854-6020 | System Manager, Master of Unix-Fu Work: [EMAIL PROTECTED] | Center for Telecommunications Research H
Re: Another current crash (cvs-cur.6183
help. --- Paul Haddad ([EMAIL PROTECTED]) Imagine that Cray computer decides to make a personal computer. It has a 150 MHz processor, 200 megabytes of RAM, 1500 megabytes of disk storage, a screen resolution of 4096 x 4096 pixels, relies entirely on voice recognition for input, fits in your shirt
Re: RSA library problems
Kris Kennaway wrote: On Thu, 23 Mar 2000, Paul Richards wrote: Because the dlopen() of librsaintl.so fails. Ok, I give up :-) Why would that happen then ? I don't know :-) I stuck a dlerror() in there and the problem is usr/lib/librsaINTL.so: Undefined symbol "BN_mod_exp
Re: Buf cache, swap spl, and NFS patches need review.
. bdwrite calls everything with no spl proctection when it really should. My full SPLASSERT patch is at http://people.freebsd.org/~ps/splassert.diff. I should just go ahead and submit this. This patch doesn't have any of the vm patches we discussed last month. -- Paul Saab Technical Yahoo [EMAIL
Re: FreeBSD random I/O performance issues
half a minute or so to less than 1 second. Thanks to Paul Richard for noticing this. I've not spent much time researching this, so can only present my small set of measurements. To do these tests you have to recompile my test program each time eg gcc -O4 -DBLOCKSIZE=8191 -DWRITESIZE
Re: Another current crash (cvs-cur.6183
pages in the buf but none of them have PG_BUSY set and it's only not panicing on the first page because bp-b_pager.pg_reqpage is 0 and the call to vm_page_wakeup is skipped. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: patches for test / review
th block 3 in it *never gets flushed*. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: MAX_UID ?
still limit UID_MAX == USHRT_MAX for backwards compatibility. So, sys/syslimits.h seems like the right place for constants like UID_MAX. Any disagreements there? I guess the above macros should really be machine specific if we're going to be pedantic. Would machine/limits.h be an appropriate loca
Re: MAX_UID ?
Giorgos Keramidas wrote: On Sun, Mar 12, 2000 at 05:59:09AM +, Paul Richards wrote: Are expressions like ((uid_t)0-1) portable/safe ? Maybe that's a better way of approaching this. To get the all-1's number, maybe it's better to use ((uid_t)~0), but that is a rather controversial
Re: MAX_UID ?
Garrett Wollman wrote: On Mon, 13 Mar 2000 00:06:19 +, Paul Richards [EMAIL PROTECTED] said: We could create a new include file that we use for constants that are related to FreeBSD specific types or we can agree on a coding style for performing bounds checking using tricks like
Re: MAX_UID ?
John Polstra wrote: In article [EMAIL PROTECTED], Paul Richards [EMAIL PROTECTED] wrote: They must not go into limits.h. That header file is defined by the ANSI/ISO C standard. The standard doesn't permit polluting the namespace with extra stuff. Umm, ok. I don't think our
Re: MAX_UID ?
Peter Jeremy wrote: On 2000-Mar-13 12:01:03 +1100, Paul Richards [EMAIL PROTECTED] wrote: id = strtoul(p, (char **)NULL, 10); if ((errno == ERANGE) || (id = UID_MAX)) { warnx("%s max uid value (%lu)", p, UID_MAX); return (0); } You can do this now.
Re: MAX_UID ?
John Polstra wrote: In article [EMAIL PROTECTED], Paul Richards [EMAIL PROTECTED] wrote: John Polstra wrote: I guess it could go into machine/limits.h in the "!defined(_ANSI_SOURCE)" section. Bruce might have a better idea. I don't think machine/limits.h is the r
Re: MAX_UID ?
Peter Jeremy wrote: On 2000-Mar-13 13:14:40 +1100, Paul Richards [EMAIL PROTECTED] wrote: #define UID_MAX ((uid_t)0-1) ... I can see the flaw in that straight away in that uid_t isn't available in sys/syslimits.h Not a problem. C macros are just text expansions. The `uid_t' isn't
SB AWE64 in -CURRENT
Ok, I'm giving serious thought to ditching the Debian installation on this drive and go with FreeBSD. I run FreeBSD on this machine already, but on a smaller drive. Debian and Linux have been routinely irritating me. I'm used to the traditional set of Unix tools, and the traditional command line
MAX_UID ?
a max uid against. id = strtoul(p, (char **)NULL, 10); if (errno == ERANGE) { warnx("%s max uid value (%lu)", p, ULONG_MAX); return (0) } I think we need a MAX_UID and a MAX_GID to perform checks like this. Anyone got any objections to adding them to /usr/include/limits
Re: MAX_UID ?
John Polstra wrote: In article [EMAIL PROTECTED], Paul Richards [EMAIL PROTECTED] wrote: I think we need a MAX_UID and a MAX_GID to perform checks like this. Anyone got any objections to adding them to /usr/include/limits.h ? They must not go into limits.h. That header file
Re: The pw command
Kris Kennaway wrote: On Fri, 10 Mar 2000, Paul Richards wrote: Non-root users can use the pw command to get information from the master.passwd file e.g. ps showuser paul paul:*:1000:1000::0:0: Richards:/home/paul:/usr/local/bin/bash % pw showuser kkenn kkenn:*:1000:0::0:0
The pw command
Non-root users can use the pw command to get information from the master.passwd file e.g. ps showuser paul paul:*:1000:1000::0:0: Richards:/home/paul:/usr/local/bin/bash which shows the class, password expiry and account expiry. I'm not sure whether that's information that should be kept secure
Shared IRQs
I have a FreeBSD 4.0-CURRENT (cvsup'ed as of tonight) machine. It has a USB controller (PIIX3) and an ethernet controller sharing irq 10. I'm not much in the way of a hardware expert, so I'm wondering if this is safe or if I should reroute the ethernet card or the usb to another irq. In case it
mod_ssl current
I'm having a problem getting Apache setup to work with modssl; I'm running apache1.3.12+php4+mod_ssl2.6.0 [root@valiant]-~# apachectl startssl /usr/local/sbin/apachectl startssl: httpd could not be started No other info whatsoever. (helpful, huh? :-) I'm using the stock configuration file with
Re: mod_ssl current
On Tue, Feb 29, 2000 at 07:26:53PM -0800, Manfred Antar wrote: I needed to add -lRSAglue -lrsaUSA to the SSL_LIBS= line in /usr/ports/www/apache13-php3/work/apache_1.3.12/src/modules/ssl/Makefile and install the recompiled libssl.so in /usr/local/libexec/apache. Works fine Note this is for
Re: Crypto progress! (And a Biiiig TODO list)
es of code needed to implement a secure daemon solution? Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: feedback on CD install of 4.0-RC2
nance" because really that's where it's useful in that you can go fix any bit of the system without having to walk through all the installation steps. No new users would try and use "maintenance" to do their installation with. Paul. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: setproctitle() in FreeBSD 4.0 ...
_kern_proc, KERN_PROC_ARGS, args, CTLFLAG_RW|CTLFLAG_ANYBODY, sysctl_kern_proc_args, "Return process argument"); -- Paul Saab Technical Yahoo [EMAIL PROTECTED] - [EMAIL PROTECTED] Do You .. uhh .. Yahoo!? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fre
Re: ifconfig hang
ssion, then you need to check your hardware. -Bill -- = -Bill Paul(212) 854-6020 | System Manager, Master of Unix-Fu Work: [EMAIL PROTECTED] | Center for Telecommunications Research Home: [EMAIL P
Re: Suggestions for Gigabit cards for -CURRENT
modify the firmware to do this then you have a lot more guru points than I do. :) I've looked at the Alteon firmware code but it's all quite opaque to me. -Bill -- = -Bill Paul(212) 854-6020 | System Manager
Re: Suggestions for Gigabit cards for -CURRENT
to ask Bill Paul about them, he wrote the driver. The SysKonnect cards aren't bad. A single port multimode fiber card is around $700, I think. The single mode cards are more expensive. However SysKonnect also makes the only dual port gigabit card on the market right now (though it costs around
Re: Suggestions for Gigabit cards for -CURRENT
XMAC chips at once: with the default FIFO threshold, I would often see TX FIFO underruns from one of the XMACs and performance on that port would get spotty. I think the total TX FIFO memory on the XMAC II is 2K. -Bill -- =====