summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Note that only one webnfs share is allowed per NFS server.ceri2004-03-221-0/+3
| | | | | | | PR: docs/45371 Submitted by: Mattias Pantzare <pantzer@ludd.luth.se>, Matthew D. Fuller <fullermd@over-yonder.net> MFC after: 2 days
* On startup, warn if inetd's config file doesn't exist. This isn'tdwmalone2004-03-221-0/+2
| | | | | | | | | | | exactly the same as patch from the PR, which also exited if the config file was missing. I didn't use Jeff's patch because I was worried that some people might start inetd, create the config file and then HUP inetd. PR: 60806 Submitted by: Jeff Ito <jeffi@rcn.com> MFC after: 2 weeks
* Fixed a warning.ru2004-03-171-1/+1
|
* Fix typobrueffer2004-03-172-2/+2
|
* o Start sentences on new linesbrueffer2004-03-172-16/+34
| | | | o misc format fixes
* Language cleanupbrueffer2004-03-172-18/+18
|
* Move the _arlconfig define in the existing i386 section.nyan2004-03-171-3/+1
| | | | Suggested by: ru
* Implement "arlconfig arlX quality".fjoe2004-03-165-287/+123
| | | | | | Man pages fixes. Submitted by: Stanislav A. Svirid <count@riss-telecom.ru>
* Fix copyrights and mandoc markup.fjoe2004-03-162-16/+16
| | | | Pointed out by: ru
* Use void * instead of char * to avoid violating C99 strict aliasing rules.des2004-03-161-17/+12
|
* Change libdisk and sysinstall to use d_addr_t rather than u_long for diskjhb2004-03-164-96/+116
| | | | | | | | | | | | | | | | addresses. For arch's with 64-bit longs, this is a nop, but for i386 this allows sysinstall to properly handle disks and filesystems > 1 TB. Changes from the original patch include: - Use d_addr_t rather than inventing a blkcnt type based on int64_t. - Use strtoimax() rather than strtoull() to parse d_addr_t's from config files. - Use intmax_t casts and %jd rather than %llu to printf d_addr_t values. Tested on: i386 Tested by: kuriyama Submitted by: julian MFC after: 1 month
* o Add an -S option to not attempt to ascertain the validity of a shell.mtm2004-03-162-13/+59
| | | | | | | o Add a -D option to not attempt to create the home directory. o Treat the /nonexistent home directory specially. It means the user has no home directory and it should not be created. o Update Copyright year and my email.
* The arlconfig is needed on i386 only.nyan2004-03-161-0/+2
|
* Add arl(4): driver for Aironet Arlan 655 wireless adapters.fjoe2004-03-156-0/+1709
| | | | MFC after: 2 weeks
* Remove bogus (void **) casts. This unbreaks the -O2 build.des2004-03-151-3/+3
|
* The gsc driver has been retired, so retire its control program.imp2004-03-144-274/+0
|
* These go along with the stl and stli drivers, recently removed.imp2004-03-1413-3159/+0
|
* Re-kill ispcvt on amd64 - rc.d/syscons was fixed ages ago.peter2004-03-131-2/+0
|
* Don peril-sensitive glasses and throw the switch to move nologin(8) fromcperciva2004-03-131-0/+1
| | | | | | | | | | | /sbin to /usr/sbin. A symlink from /sbin/nologin -> /usr/sbin/nologin is created for compatibility purposes. This will probably not cause any problems, but anyone who is doing anything particularly unusual with nologin(8) or shells in general might be well advised to check that everything still works. Bikesheds on: cvs-all, current
* Add missing spaces after "logconfig" in example lines.cperciva2004-03-131-2/+2
| | | | | | PR: docs/64082 Submitted by: Tsurutani Naoki MFC after: 3 days
* Add standard copyright notice; fix style bugs. (Reported by bde)cperciva2004-03-131-9/+26
| | | | Remove NO_NOLOGIN_LOG option now that we're off the root partition.
* When nologin(8) is installed in /usr/sbin/, create a symlink fromcperciva2004-03-131-7/+2
| | | | | | | | /sbin/nologin for compatibility purposes. Also, remove the NO_NOLOGIN_LOG option; we don't need to worry about conserving space as much on the /usr partition. Note that usr.sbin/nologin is not yet hooked up to the build.
* Move newsyslog.conf.5 to usr.sbin/newsyslog. There is no real historytrhodes2004-03-122-1/+371
| | | | | | other than 'initial revision' thus I did not request a repocopy. Requested by: ru, gad
* Unremoved a used variable in the PCCARD_ARCH case.bde2004-03-121-0/+3
| | | | Reported by: tinderbox
* Remove unused variables.jhb2004-03-114-8/+1
|
* Fixed assorted misuses of NULL in integer context.bde2004-03-1112-16/+16
|
* Fixed mispellings of '\0' as NULL.bde2004-03-111-2/+2
|
* Remove information about the configuration file.trhodes2004-03-111-308/+3
| | | | Add an Xref to newsyslog.conf.5 and bzip2.1.
* Fixed a misspelling of 0 as NULL.bde2004-03-101-1/+1
|
* Make libgeom usable by C++ programs:jhb2004-03-091-9/+10
| | | | | | | | | | - Add DECL wrappers to libgeom.h. - Rename structure members in libgeom.h to use a lg_ prefix for member names. This is required because a few structures had members named 'class' which made g++ very unhappy. - Catch gstat(8) and gconcat(8) up to these API changes. Reviewed by: phk
* Link pf to the build and install:mlaier2004-03-081-0/+5
| | | | | | | | | | | | | | | | This adds the former ports registered groups: proxy and authpf as well as the proxy user. Make sure to run mergemaster -p in oder to complete make installworld without errors. This also provides the passive OS fingerprints from OpenBSD (pf.os) and an example pf.conf. For those who want to go without pf; it provides a NO_PF knob to make.conf. __FreeBSD_version will be bumped soon to reflect this and to be able to change ports accordingly. Approved by: bms(mentor)
* Shift file locking to source file instead of temp file. This fixeskensmith2004-03-082-8/+5
| | | | | | | | | | | data buffering issue that corrupts files if two pw(8)'s run at the same time as well as changing pw(8) so it uses the same locking mechanism as PAM, vipw(8), pwd_mkdb(8), etc. PR: bin/23501 Submitted by: Alex Kapranoff <alex (at) kapran (dot) bitmcnit (dot) bryansk (dot) su> Approved by: rwatson (mentor) MFC after: 5 days
* Add a check for wtmp records which have invalid values for ut_time. Wtmpgad2004-03-081-12/+64
| | | | | | | | | | | | | | | records with time==0 get "the time of the last valid record", while records where time goes backwards (compared to the previous record) are skipped. Also prints a message saying how many records were changed or skipped due to these checks. Check was inspired by a simpler check in OpenBSD's version. This is all meant to sidestep problems that Tillman Hodgson noticed with 'ac' when running sparc64 with 64-bit time_t's. The real problem is whatever is creating wtmp records with ut_time==0, of course, but I have not yet figured out what is doing that. Reviewed by: no screams from freebsd-sparc64 or bde MFC after: 2 weeks
* Compile 'ac' with DEBUG when arch==sparc64.gad2004-03-081-0/+5
|
* Add a debug-statement from NetBSD, and then rework all debug-statementsgad2004-03-081-9/+82
| | | | | | | | | | so the program compiles without errors or warnings when DEBUG is defined on sparc64 with 64-bit time_t's. Also have debug statements include the year when printing records from a different year than 'now'. Also print out a special timestamp in debug statements when ut_time==0. Reviewed by: freebsd-sparc, bde MFC after: 2 weeks
* In the case where /etc/rc.d/ is empty, do not bogusly ask the user ifdougb2004-03-071-1/+1
| | | | | | | they want to delete '*'. It turns out that there is one valid case where this might happen, installing to an empty DESTDIR. Patch submitted by: schweikh
* Add preliminary support for PCMCIA devices in addition to PCI/cardbus.wpaul2004-03-072-9/+159
| | | | | | | | | | | | if_ndis.c has been split into if_ndis_pci.c and if_ndis_pccard.c. The ndiscvt(8) utility should be able to parse device info for PCMCIA devices now. The ndis_alloc_amem() has moved from kern_ndis.c to if_ndis_pccard.c so that kern_ndis.c no longer depends on pccard. NOTE: this stuff is not guaranteed to work 100% correctly yet. So far I have been able to load/init my PCMCIA Cisco Aironet 340 card, but it crashes in the interrupt handler. The existing support for PCI/cardbus devices should still work as before.
* Set MAKEOBJDIRPREFIX in the environment, like God intended. Thisru2004-03-061-3/+3
| | | | | | only worked because src/Makefile.inc1 is wrapped by src/Makefile. Silence from: dougb
* Use ascii null char ('\0') instead of NULL.nyan2004-03-051-2/+2
| | | | Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
* fix reference to sysctl variable: machdep.an_cache_mode -> hw.an.an_cache_moderse2004-03-051-1/+1
|
* Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)markm2004-03-055-4/+5
| | | | | | | | | | | | | | | that this provokes. "Wherever possible" means "In the kernel OR NOT C++" (implying C). There are places where (void *) pointers are not valid, such as for function pointers, but in the special case of (void *)0, agreement settles on it being OK. Most of the fixes were NULL where an integer zero was needed; many of the fixes were NULL where ascii <nul> ('\0') was needed, and a few were just "other". Tested on: i386 sparc64
* Fix style breakage.takawata2004-03-051-0/+1
| | | | Noticed by: njl
* Eliminate hard sentence breaks.trhodes2004-03-041-8/+19
| | | | General markup fixes (use the .Dq macro).
* Make unprivilaged user can see battery info.takawata2004-03-041-2/+5
|
* Make rpc.lockd bind to a reserved port, since there are NFS clientsroam2004-03-041-0/+18
| | | | | | | | which ignore NLM requests not coming from a reserved port. PR: 56500 Submitted by: Jonathan Lennox <lennox@cs.columbia.edu> MFC after: 1 week
* Add a new option to mountd(8), -p <port>. This allows the user to specifybms2004-03-042-7/+76
| | | | | | | a known port for use in firewall rulesets; otherwise the port is chosen at run-time by bindresvport(). MFC after: 1 week
* Minor style(9) fixes. remove a register keyword, correct two indents.gad2004-03-031-3/+3
| | | | Noticed while comparing to OpenBSD version.
* Convert K&R-style routine definitions to C89 style, partially to reducegad2004-03-031-33/+13
| | | | diffs with OpenBSD. This causes no changes to the object produced.
* Add command line option for chrootdir, all pkg_add(8) operations will bekensmith2004-03-012-3/+39
| | | | | | | | | | done inside of chroot(2) to chrootdir. Added to help with sysinstall(8) support of install to alternate root but possibly useful for setting up jails, etc. No objection from: portmgr@ Style(9) abuse due to: entire program violates style(9) Approved by: rwatson (mentor)
* This is an initial whitespace cleanup commit, new content to follow.kensmith2004-03-011-19/+38
| | | | | | Adding hard line breaks at the end of sentences. Approved by: rwatson (mentor)
OpenPOWER on IntegriCloud