summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Reserved one of the spare fields in struct gmon to record the historybde2002-02-211-3/+31
| | | | | | | | | | | | | | | | | | | counter type, as threatened in rev.1.8 (the density doesn't need to be recorded since it can be derived from other fields). This doesn't affect binary compatibility, but new utilities won't be able to depend on the contents of this field because libc/gmon/gmon.c was broken -- it wrote garbage to the spare fields. Added a history counter type field to struct gmonparam. This breaks binary compatibility a little, since kgmon wanted to read the whole struct. Fixed kgmon to only depend on reading the critical earlier parts of the struct. This should also fix 6+ year old breakage of binary compatibility when the profrate field was added. Only initialize the new field in struct gmon for now, so that the compatibility code for this (in kgmon) gets tested. The compatibility code has to guesstimate the value. The new field in struct gmonparam is for the kernel to initialize so that kgmon doesn't have to guess.
* Don't define NOADDITIONAL in CFLAGS again, it is already in named.hache2002-02-211-2/+1
| | | | This commit unbreak 'make depend'
* Commit some infrastructure for turning on -Werror for kernel compiles.peter2002-02-203-4/+13
| | | | | | It doesn't actually do it yet though. This adds a flag to config so that we can exclude certain vendor files from this even when the rest of the kernel has it on. make -DNO_WERROR would also bypass all of it.
* Prefix structure members to protect them against clashes with eg.alfred2002-02-202-34/+34
| | | | | | | | | c++ keywords. This keeps us in sync with NetBSD because they actually committed my delta first. Ok'd by: lennard
* Make sortdeps() working with dependency lists containing one or no elements.sobomax2002-02-201-1/+4
| | | | | Submitted by: roam MFC in: 1 week
* Provide protection against incorrect input (dependency list).sobomax2002-02-201-2/+5
| | | | Submitted by: roam
* Document NGM_PPPOE_ACNAME handling.brian2002-02-201-0/+6
|
* Handle NGM_PPPOE_ACNAME messages.brian2002-02-201-0/+5
| | | | | Submitted by: Andre Albsmeier <andre@albsmeier.net> Approved by: julian
* Add some code which read manufucturer id. This is for NEWCARD compatibility.shiba2002-02-204-0/+46
| | | | Reviewed by: imp
* Fixed divots that I created when I moved prototypes of group_from_gidimp2002-02-191-0/+1
| | | | | | | and user_from_uid to grp.h and pwd.h. Update the man pages. Submitted by: David Malone Pointy hat to: imp
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-02-187-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm
* Update build infrastructure for sendmail 8.12.gshapiro2002-02-171-17/+27
| | | | | Add new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a set-user-ID root binary instead of the new method (set-group-ID smmsp).
* Update build infrastructure for sendmail 8.12.gshapiro2002-02-173-9/+52
|
* Add editmap, a new utility which comes with sendmail 8.12 for editing maps ingshapiro2002-02-172-1/+53
| | | | place.
* Merge from NetBSD:joe2002-02-162-43/+56
| | | | | * Add a -d flag to show the device drivers associated with each device. * Update to use the new speed structure entry.
* Unbogotify the comment containing the RCS Id.des2002-02-151-1/+4
|
* Remove unnecessary setjmp.h.maxim2002-02-131-1/+0
| | | | | | | Reviewed by: ru Approved by: ru Obtained from: OpenBSD MFC after: 1 week
* Unlink all log sockets at startup.maxim2002-02-131-0/+1
| | | | | | | | PR: misc/34839 Reviewed by: ru Approved by: ru Obtained from: OpenBSD MFC after: 2 weeks
* * Update (c)dougb2002-02-121-2/+5
| | | | | | | | | * Fix a problem with files that have no CVS $Id's. Thanks to naddy for spotting this one. It wasn't a _huge_ problem since almost all the files we install (except motd) have one, but still, it's a bug. * Add a divider between diff outputs, which is helpful both for logs, and for giving a good visual clue for diffs that are smaller than $LINES. Another helpful suggestion from Gary W. Swearingen, swear@blarg.net.
* * Update (c)dougb2002-02-121-1/+3
| | | | | * Expand on the definition of the -s (strict) option, at the suggestion of Gary W. Swearingen, swear@blarg.net.
* Move makeobjops to /sys so we don't have to deal with the config(8)-likeobrien2002-02-112-975/+0
| | | | versioning.
* Revert rev 1.211, kernel building assistants should live in /sysobrien2002-02-111-1/+0
|
* Remove unused bits.obrien2002-02-111-26/+7
|
* Turn on makeobjops.obrien2002-02-111-0/+1
|
* Replace makeobjops.pl in kernel building.obrien2002-02-112-0/+994
| | | | Submitted by: Diane Bruce <db@db.net>
* Found a single point where rmuser(8) wasn't robust to strangeyar2002-02-111-1/+1
| | | | | characters in a username: where it was inserted into a regexp. Fix it by escaping metacharacters in the name with \Q-\E.
* Added the command name to the synopsis section.nyan2002-02-111-0/+1
| | | | | Submitted by: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> MFC after: 3 days
* Comment in the man page and warning in stlload (when stlload fails) to makedbaker2002-02-112-0/+4
| | | | | it clear that the recent PCI cards do not require firmware to be loaded, unlike the completely different ISA cards that are branded with the same name.
* Update license.rwatson2002-02-101-1/+3
|
* Teach getextattr to query the EA size and allocate appropriate sizedrwatson2002-02-102-10/+37
| | | | | | buffers before reading the memory. Arguably, the failure modes here are poor, but we can now read >2k EAs. Also, update the copyrights and licenses while I'm here.
* Update userland tools to reflect extattr API changes.rwatson2002-02-102-10/+8
| | | | | | | | Note that getextattr has not yet been updated to dynamically allocate a read buffer, although that can now be done. Obtained from: TrustedBSD Project Sponsored by: NAI Labs
* o No longer mount /proc by default on newly installed systems. Almostrwatson2002-02-102-8/+0
| | | | | | | | | | all facilities that previously relied on /proc have been rewritten to use ptrace(). procfs has presented a substantial security hazard for years, with several user->root compromises in the last few years. Procfs will continue to be available but will require administrator intervention to use. Reviewed by: scottl, jedgar, mike, tmm
* Reword the ``Please remove the FreeBSD fixit CDROM now.'' tobrian2002-02-082-2/+2
| | | | | | ``Please remove the FreeBSD fixit CDROM/DVD now.''. MFC after: 2 weeks
* FreeBSD 4.1 bootstrapping aid (HALT and PDWN are not defined there).ru2002-02-081-2/+8
|
* Sort out the documentation WRT TCP_WRAPPERs, which is now enabled.markm2002-02-061-12/+2
|
* Fix an inconsistency between what FreeBSD NIS and AMD think themarkm2002-02-061-3/+3
| | | | AMD map name should be.
* Enable TCP_WRAPPERs for the NIS server. The protection afforded ismarkm2002-02-061-1/+4
| | | | not massive, but usable.
* Readded the svc_create() and the registering of the local transport,alfred2002-02-061-1/+35
| | | | | | | | | | | | | | | now it is fixed. This should get us a working keyserv again, since it depends on local transport for key exchange. Since we do not have any KEYFILE name hardcoded anymore, set the umask that way that the keyserver socket can be created with with the appropriate permissions. Re-add the accidently removed signal(SIGPIPE, SIG_IGN); to the code which makes sense to avoid SIGPIPE when a disconnect on rpc socket occurs. Submitted by: mbr
* ANSIfy and remove some dead code.des2002-02-0623-368/+227
| | | | Sponsored by: DARPA, NAI Labs
* Apply the following mechanical transformations in preparation fordes2002-02-0627-180/+184
| | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week
* Do a bit more of prototype cleanup.ru2002-02-063-6/+1
|
* Make cron actually build without defining LOGIN_CAP.bbraun2002-02-061-1/+1
| | | | Reviewed by: jkh
* Fix the breakage in rpc.yppasswd. Readded the svc_create() andalfred2002-02-052-78/+51
| | | | | | | | | | | the registering of the "unix" transport, now it is fixed. Everywhere, rq_cred is taken to look what authentification we have. We can not be sure that transp>xp_verf.oa_flavor is also filled in. This seems to be the same for all sun source. they take the flavor of rq_cred, instead of transp. Submitted by: mbr
* tab in pw_mkdb's arg for style.alfred2002-02-051-1/+1
|
* Constify things to unbreak world.alfred2002-02-052-3/+3
| | | | Submitted by: David Wolfskill <david@catwhisker.org>
* Fix -F with logfiles rotated on time only.roam2002-02-051-1/+1
| | | | | Approved by: silence on -audit MFC after: 1 month
* ANSIfy and constify.des2002-02-054-33/+31
| | | | Sponsored by: DARPA, NAI Labs
* Stop saying that "express" mode is for impatient people. It'sjkh2002-01-302-2/+2
| | | | | | | really for impatient and EXPERT people who know sysinstall backwards and forwards. MFC after: 1 week
* Fix a signal 11 error that occurs if you try to use the 'T' option onmurray2002-01-292-2/+4
| | | | | | an existing FreeBSD partition. Reported by: Brent Cook <busterb@mail.utexas.edu>
* The huge dependency lists of some of our packages has broughtmurray2002-01-291-0/+13
| | | | | | | | | | | | | | | attention to the sub-optimal way that we deal with package dependencies. Traditionally, for each package in an INDEX that the user wants to add, we check all of the dependencies first even if the package is already installed. With some GNOME packages, this can cause package_extract to be called for 50 different dependencies when we know the top level package is already installed. The new behavior is to not check dependencies for packages that are already installed. This fixes a bug where sysinstall gets itself into a CPU intensive loop when trying to install sawfish gnome with the most recent ports/INDEX. There is a bug somewhere in the ports INDEX, but with over 6,400 ports we need to be a little more forgiving here.
OpenPOWER on IntegriCloud