summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added the linux_sysinfo function to implement sysinfo(2).pirzyk2001-07-234-3/+78
| | | | | | | PR: kern/27759 Reviewed by: marcel Approved by: marcel MFC after: 1 week
* Added the proper arguments the sysinfo system callpirzyk2001-07-231-1/+1
| | | | | | | | PR: kern/27759 Reviewed by: marcel Approved by: marcel Obtained from: Linux man page sysinfo(2) MFC after: 1 week
* If the user sets SENDMAIL_MC to /etc/mail/sendmail.mc, install is told togshapiro2001-07-232-3/+11
| | | | | | | | | | | | | | | | install /etc/mail/sendmail.cf to /etc/mail/sendmail.cf and exits with an error: ===> etc/sendmail install -c -o root -g wheel -m 644 /etc/mail/sendmail.cf /etc/mail/sendmail.cf install: /etc/mail/sendmail.cf and /etc/mail/sendmail.cf are the same file *** Error code 64 Catch this in the Makefile and don't call install if the source and target are the same file. Reported by: Alexandr Listopad <laa@reis.zp.ua> MFC after: 1 week
* New make knob, SENDMAIL_M4_FLAGS, modifies the flags passed to m4 whengshapiro2001-07-235-3/+23
| | | | | | | | | | building a .cf file from a .mc file. Include -D_FFR_TLS_O_T to enable tls policy control since the sendmail binary build enables that FFR as well. PR: conf/28361 MFC after: 1 week
* Get rid of a compile-time warning by casting to (size_t).gad2001-07-231-1/+1
| | | | MFC after: 1 week
* Get rid of a compile-time warning by casting to (size_t).gad2001-07-231-1/+1
| | | | MFC after: 1 week
* Fix a few more minor compile-time warnings, mainly by using size_t wheregad2001-07-231-10/+15
| | | | | | | appropriate, and using '("%lu", (unsigned long)asizeval)' when printing something of type size_t. MFC after: 1 week
* Get rid of some compile-time warnings by defining (or casting) variablesgad2001-07-231-19/+20
| | | | | | as size_t where appropriate. MFC after: 1 week
* Fix two compile-time warnings by defining fromlen as socklen_t.gad2001-07-231-2/+2
| | | | MFC after: 1 week
* add %option nounputassar2001-07-221-0/+2
|
* revert last commit. using %option nounput is betterassar2001-07-221-5/+1
| | | | noted by: Seth Kingsley <seth.kingsley@windriver.com>
* add ecalloc, emalloc, erealloc, estrdup - versions of the e-lessassar2001-07-227-2/+271
| | | | functions that exit instead of failing
* Add a few missing spl calls in preparation for an MFC of the miibusiedowse2001-07-221-6/+15
| | | | support.
* Note that the umass device requires scbus and dakris2001-07-222-2/+2
|
* Remove an old hack that remembered if the card type was Linksys byiedowse2001-07-221-7/+3
| | | | | | | storing a flag in the global variable 'linksys' during the probe routine and reading it during the attach routine. We now have the ED_VENDOR_LINKSYS vendor code stored in sc->vendor, so check that instead.
* make driver compile under 4.3-STABLEhm2001-07-221-0/+4
|
* Don't do sleep state transition if specified sleep state is notiwasaki2001-07-223-14/+20
| | | | supported by the system.
* Attach the miibus for Linksys/Dlink cards from the attach routine,iedowse2001-07-222-6/+11
| | | | | | | | | | | not from the probe routine. This was an oversight when I originally ported the miibus support to -current, though it was mostly harmless. We now set the vendor code to the new value ED_VENDOR_LINKSYS in ed_pccard_Linksys() at probe time. Then ed_pccard_attach() checks the vendor code, and sets up the miibus if appropriate. Reviewed by: imp
* As per further discussions on hackers redo the SIGCHLD patch to not generatedillon2001-07-222-8/+8
| | | | | | | | | an unexpected user-visible side effect with the sigaction flags. Also cleanup a minor union issue. Submitted by: Rudolf Cejka <cejkar@dcse.fee.vutbr.cz> MFC addendum: MFC will be combined w/ original commit MFC after: 3 days
* Fix a bug I introduced in Rev. 1.21 that prevented 'whois test' frommike2001-07-221-0/+2
| | | | | | | working. Reviewed by: des Approved by: des
* Add entry for SMC 2632W card.imp2001-07-221-11/+26
| | | | | | | Submitted by: lots of people, most recently by Mike Buchanon Also, Tried to clean up the comments about IRQs to match the new world order.
* Remove namespace pollution.mike2001-07-221-2/+2
| | | | | | | PR: 14327 Reviewed by: des Approved by: des MFC after: 7 days
* - Fix "off by one" error in VT_WAITACTIVATE. Correctly acceptyokota2001-07-221-5/+5
| | | | | | | | 0 as meaning the requesting vty. - Accept 0 as the requesting vty in VT_ACTIVATE as in VT_WAITACTIVE. PR: 24423 MFC after: 10 days
* Use the correct ioctl command to set a VESA mode.yokota2001-07-221-1/+3
| | | | | PR: 24423 MFC after: 10 days
* Fix some bugs and general brain damage in mounttab:iedowse2001-07-224-72/+69
| | | | | | | | | | | | | | | | | | | | - Declare mtabhead as an extern in mounttab.h and define it only in mounttab.c. - Remove shared global `verbose' and instead pass it as a parameter. - Remove the `mtabp' argument to read_mtab(). It served no purpose whatsoever, although read_mtab() did use it as a temporary local variable. - Don't check for impossible conditions when parsing mounttab, and do detect zero-length fields. - Correctly test for strtoul() failures - just testing ERANGE is wrong. - Include a field name in syslog errors, and avoid passing NULL to a syslog %s field. - Don't test if arrays are NULL. - If there are duplicates when writing out mounttab, keep the last entry instead of the first, as it will have a later timestamp. - Fix a few formatting issues. Update rpc.umntall and umount to match the mounttab interface changes.
* Fix some man page xrefs.mpp2001-07-222-3/+3
| | | | | PR: docs/26065 MFC after: 1 week
* Change the errx() example. Error messages passed to the err(3)dd2001-07-221-1/+1
| | | | | | | functions shouldn't have the first word capitalized, and shouldn't have a period at the end. This is how most of our programs, and most (all?) of the 4.4BSD programs, are. In the past, we've even done sweeps to change things to comply to this.
* Add: ``If you have to wrap a long statement, put the operator at thedd2001-07-221-1/+4
| | | | | | end of the line.'' Reviewed by: alfred, bde
* Don't put a shell prompt in the example since none of the other mandd2001-07-221-2/+8
| | | | | pages do it. Also, don't use brackets to indicate optional options in the example; instead, add a paragraph below the example explaining it.
* revert previous commit (bad style and not needed)assar2001-07-221-1/+0
| | | | Noticed: bde
* remove -*- nroff -*- thingyalfred2001-07-221-1/+0
|
* add directory i4brunppp.hm2001-07-221-0/+2
| | | | | Pointed out by: David H. Wolfskill david@catwhisker.org and Crist J. Clark <cristjc@earthlink.net>
* Replace calls to strncpy with calls to strlcpy, and remove the extra stepgad2001-07-223-37/+25
| | | | | | needed to ensure that the result is null-terminated when using strncpy(). MFC after: 8 days
* Error messaging in ipfw(8) was out of hand, almost 50 lines of usagecjc2001-07-221-109/+114
| | | | | | | | | | | | | | information for any command line error, the actual error message almost always (and sometimes irretrievably) lost scrolling off the top of the screen. Now just print the error. Give ipfw(8) no arguments for the old usage summary. Thanks to Lyndon Nerenberg <lyndon@orthanc.ab.ca> for the patch and PR, but I had already done this when ru pointed out the PR. PR: bin/28729 Approved by: ru MFC after: 1 week
* Add another Dell 3/Di PCI ID. You'd think they had enough of thesemsmith2001-07-221-0/+1
| | | | already...
* Fix a selection of bugs, and improve code layout:iedowse2001-07-221-95/+74
| | | | | | | | | - Remove unnecessary and unused local variables. - Include useful information in error and warning messages. - Fix the logic for expiring mounttab entries. - Remove calls to getaddrinfo - the results were not used. - Simplify some string handling by using snprintf. - Fix usage.
* Rename the -w option to be -W. The recently-added -w option is differentgad2001-07-222-7/+30
| | | | | | | | than the long-standing -w option in NetBSD, so change it before anyone in FreeBSD gets used to it. For now, -w is still accepted, but prints out some warnings via syslog. MFC after: 1 week
* Correct typo.nyan2001-07-221-1/+1
|
* Include the remote hostname in RPC-related warning messages. Exitiedowse2001-07-221-25/+24
| | | | | | | | | | | | | | | | | | immediately if a host specified by the -h flag cannot be parsed instead of attempting to unmount all NFS filesystems, which was bad. Add a missing return statement at the end of checkname(); this could result in a non-zero exit status in some cases even if the unmount succeeded. Group two separate NFS-related operations into one block to make it more obvious that a variable (hostp) is not dereferenced when uninitialised. Initialise it to NULL anyway to avoid a warning. Pass in the read_mtab()'s bogus argument as NULL instead of messing with a local variable to achieve the same effect. A later commit will clean up this mounttab interface.
* add prototype for dosetrlimitassar2001-07-222-2/+2
|
* revert previous accidental commitassar2001-07-222-2/+10
|
* get rid of some printf and pointer type warningsassar2001-07-229-25/+19
|
* Change a few read & write calls to use 'STDOUT_FILENO' instead of '1'.gad2001-07-222-7/+7
| | | | | | Submitted by: David Hill <david@phobia.ms> Reviewed by: freebsd-audit (a little) MFC after: 1 week
* The MA401 is a Prism IInsayer2001-07-211-1/+1
| | | | Approved by: imp
* ACPI CA doesn't recognis S4BIOS as a seperate sleep type anymore, somsmith2001-07-212-17/+0
| | | | drop support for it here until we work out a better way of handling it.
* add <sys/sytm.h> (for cpufunc.h -> rdtsc)assar2001-07-211-0/+1
|
* - Allow link-local multicast traffic for client.ume2001-07-211-3/+29
| | | | | | | - Allow ICMPv6 destination unreach, packet too big and NS/NA. - RIPng also uses link-local to link-local. MFC after: 1 week
* add an unused attribute to yyunput to avoid warnings (errors) whenassar2001-07-211-1/+5
| | | | it's not being used
* This was repo copied to src/release/alpha/fixit_crunch.conf.obrien2001-07-211-24/+0
| | | | The i386 and PC98 already had their own platform-specific version.
* I think this is OK for PC98, someone please check.obrien2001-07-211-3/+2
| | | | | | | | | As was done to i386/boot_crunch.conf: + Build with `lint' defined to cut out some of the `rcsid's (binaries' code only, the libs will still have the `rcsid's in them). + mount_mfs is OBE. + Do not need libipx as I have conditionally diked that functional out of ifconfig(8).
OpenPOWER on IntegriCloud