summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Revert the definitions of _PW_KEY* to their previous values. There isnectar2003-04-181-19/+25
| | | | | | | | | | at least one consumer outside of libc and pwd_mkdb. Adjust the versioning in libc and pwd_mkdb accordingly. named was the application affected, and that fact was first Reported by: Zherdev Anatoly <tolyar@mx.ru> Sponsored by: DARPA, Network Associates Laboratories
* Fixed an err() format error in rev.1.1. This should have been fatalbde2003-04-171-1/+1
| | | | | since WARNS was high in rev.1.1, but __printf0like() has been temporarily disabled for 9 months.
* = Implement thread-safe versions of the getpwent(3) and getgrent(3)nectar2003-04-171-11/+124
| | | | | | | | | | | | | | | | | | | | | | family of functions using the new nsdispatch(3) core. Remove arbitrary size limits when using the thread-safe versions. = Re-implement the traditional getpwent(3)/getgrent(3) functions on top of the thread-safe versions. = Update the on-disk format of the hashed version of the passwd(5) databases to allow for versioned entries. The legacy version is `3'. (Don't ask.) = Add support for version `4' entries in the passwd(5) database. Entries in this format are identical to version 3 entries except that all integers are stored as 32-bit integers in network byte order (big endian). = pwd_mkdb is updated to generate both version 3 and version 4 entries. Sponsored by: DARPA, Network Associates Laboratories
* * Add explicit conflict-checking to the package tools. Packages cankris2003-04-179-18/+104
| | | | | | | | | | | | | | | register a list of other packages with which they conflict (via the -C option to pkg_create), and they will refuse to install (unless -f is specified) if one of the listed packages is already present. * Update documentation for the new feature as well as fleshing out some existing documentation. * Bump PKG_INSTALL_VERSION so this feature can be tested for. Submitted by: Sergey Matveychuk <sem@ciam.ru> PR: bin/47145 MFC after: 2 weeks
* Revert url.c:1.2: there was a race condition between when I producedrwatson2003-04-171-1/+1
| | | | | | | the fix and when I committed it -- in between the two, DES committed a different fix, rendering this fix unneeded. Requested by: des
* MFp4(simokawa_firewire):simokawa2003-04-173-16/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many internal structure changes for the FireWire driver. - Compute CRC in CROM parsing. - Add support for configuration ROM build. - Simplify dummy buffer handling. - busdma conversion - Use swi_taskqueue_giant for -current. Mark the interrupt routine as MPSAFE. - AR buffer handling. Don't reallocate AR buffer but just recycle it. Don't malloc and copy per packet in fwohci_arcv(). Pass packet to fw_rcv() using iovec. Application must prepare receiving buffer in advance. - Change fw_bind API so that application should pre-allocate xfer structure. - Add fw_xfer_unload() for recycling struct fw_xfer. - Add post_busreset hook - Remove unused 'sub' and 'act_type' in struct fw_xfer. - Remove npacket from struct fw_bulkxfer. - Don't call back handlers in fwochi_arcv() if the packet has not drained in AT queue - Make firewire works on big endian platform. - Use native endian for packet header and remove unnecessary ntohX/htonX. - Remove FWXFERQ_PACKET mode. We don't use it anymore. - Remove unnecessary restriction of FWSTMAXCHUNK. - Don't set root node for phy config packet if the root node is not cycle master capable but set myself for root node. We should be the root node after next bus reset. Spotted by: Yoshihiro Tabira <tabira@scd.mei.co.jp> - Improve self id handling Tested on: i386, sparc64 and i386 with forced bounce buffer
* Backed out previous commit. Use ${LIBMROUTED} in LDADD again instead ofbde2003-04-162-2/+2
| | | | hard-coding a path to the library that is wrong in some corner cases.
* "Fixed" LDADD by backing out part of the previous commit. -lfoo inbde2003-04-161-1/+1
| | | | | | LDADD is not wrong, but the simple substitution in `make checkdpadd' doesn't work if foo.a is not an installed library, so we use the full path to foo.a in both DPADD and LDADD for non-installed libraries.
* Use NI_xxx macros.sumikawa2003-04-161-1/+1
| | | | | Obtained from: KAME MFC after: 1 week
* Bump the config version to force people to upgrade their config(8)phk2003-04-151-1/+1
| | | | | so the fix for emitting multiple instances of .o files will prevent link errors on LINT.
* Add an example of how to use the -m option that clarifies how the bits injhb2003-04-151-4/+5
| | | | | | | the mask correspond to slice numbers. Also, clarify the description of the existing example. Requested by: Larry Rosenman <ler@lerctr.org>
* Fix a warning about deprecated string literals.njl2003-04-151-8/+8
| | | | Reviewed by: diff
* Oops. Back out a style "fix" in the previous commit. SRCS must be definedbde2003-04-131-0/+1
| | | | | although there is only one file in it because the file is misnamed main.c so the default of isdntest.c doesn't work.
* Silence `make -s' (echo -> ${ECHO}).bde2003-04-131-2/+1
| | | | Fixed some style bugs.
* Avoid emitting duplicate makefile entries.phk2003-04-121-1/+4
|
* - fixed byte order of route lifetimes in route info opptions.suz2003-04-101-2/+2
| | | | | | | - corrected wording in a log message. Obtained from: KAME MFC after: 1 week
* Implement relative mixer adjustment.mdodd2003-04-092-13/+51
| | | | PR: 46679 (similar functionality)
* I forgot a rather crucial cast when I made this sectorsize agnostic.phk2003-04-091-12/+12
| | | | Tune iteration counts a bit.
* Diskinfo is a small program to access the basic properties of a disk device:phk2003-04-094-0/+384
| | | | | | | sectorsize, mediasize etc. It also contains a small and naïve benchmark which reports on seek and transfer performance.
* o Add jls(8) for listing active jails.mike2003-04-099-20/+292
| | | | | | | o Add jexec(8) to execute a command in an existing jail. o Add -j option for killall(1) to kill all processes in a specified jail. o Add -i option to jail(8) to output jail ID of newly created jail.
* RFC1548, section 5.8:fjoe2003-04-071-0/+2
| | | | | | | | | | Echo-Request and Echo-Reply packets may only be sent in the LCP Opened state. Echo-Request and Echo-Reply packets received in any state other than the LCP Opened state SHOULD be silently discarded. PR: 45760 Submitted by: Eugene Grosbein MFC after: 2 weeks
* Free login_cap(3) resources after usage.maxim2003-04-071-0/+1
| | | | Submitted by: demon
* Remove the maximum patch size limit. It was intended as a check againstmckay2003-04-072-5/+0
| | | | | | | | | | applying corrupt deltas, but has never (to my knowledge) caught any sort of corruption, but instead has caused failures on correct deltas several times. I don't see any way to make the check useful, so it's gone. Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu> PR: 50461 MFC after: 7 days
* s/obsoelte/obsolete/rwatson2003-04-071-4/+4
|
* Improve, and slightly soften, the deprecated flags. Call them deprecatedimp2003-04-061-10/+17
| | | | | | and not obsolete, but add a warning about their disappearance. Add additional notes that explain the lameness of WEP.
* o Tone down the obsolete messages since we actually do something, forimp2003-04-061-36/+48
| | | | | | | | | | | | the moment, with the deprecated flags. o Better error reporting on getting values from the driver. When we can't get one for the default dumpinfo output. The old driver would succeed for invalid RIDs, while the new driver reports errors. Since the info we're getting from the card/driver doesn't exist for all cards, we just don't report them. Improve error reporting elsewhere now that wi_getval doesn't exit. Also fix a file descriptor leak as a side effect. Reported by: scottl
* Use assignment, not equivalence test.njl2003-04-051-1/+1
| | | | No response from: suz
* When session is over, IPv6 default route to tun should beume2003-04-051-1/+4
| | | | | | removed, too. MFC after: 1 week
* style.Makefile(5)obrien2003-04-0473-114/+129
|
* - Print out an error message instead of dereferencing a NULL pointerrobert2003-04-041-7/+29
| | | | | | | | | | if matchinstalled() found no packages, which happens to be the case after fresh installations. - Instead of using strstr(3) to match the package name, depend on matchinstalled()'s MATCH_REGEX package matching. PR: bin/50384 MFC after: 2 weeks
* Set link-local address of tun interface with prefixlen = 64ume2003-04-042-8/+8
| | | | | | | | | instead of 128. It makes RA happy. Reported by: rafa@dif.um.es, SHIRASAKI Yasuhiro <yasuhiro@nttv6.jp> Reviewed by: SHIRASAKI Yasuhiro <yasuhiro@nttv6.jp> MFC after: 1 week
* fixed invalid pointer referencesuz2003-04-021-0/+1
| | | | Obtained from: KAME
* o Fix error messages formatting, style.maxim2003-04-021-29/+22
| | | | | Prodded by: bde Reviewed by: bde
* Back out the totally unapproved backout of my commits.obrien2003-03-292-58/+1
|
* If IPCP is disabled, susccess of IPV6CP negotiation is sufficientume2003-03-281-0/+5
| | | | | to communicate by IPv6. So, the prompt should be `PPP' rather than `PPp'.
* Don't pass NULL in as a flags argument to libfetch's fetchGetURL()rwatson2003-03-271-1/+1
| | | | | | as this can result in a NULL pointer deference when parsing the flags later. This change fixes "pkg_add -r" on 5.0-CURRENT for me; not quite clear how the problem was introduced.
* o Add -u <username> flag to jail(8): set user context before exec.maxim2003-03-273-12/+84
| | | | | | | PR: bin/44320 Submitted by: Mike Matsnev <mike@po.cs.msu.su> Reviewed by: -current MFC after: 6 weeks
* Change DEFMX to 0. This removes the size limit for print jobs by default.eivind2003-03-272-3/+4
| | | | Discussed with: gad (now), arch (a year ago)
* Add a sample specfile listing to FILES.chris2003-03-261-0/+8
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* tightened check for the length of ND options.ume2003-03-261-2/+25
| | | | | Submitted by: jinmei@kame.net (JINMEI Tatuya) Obtained from: KAME
* Don't install wrong IPv6 route by add command.ume2003-03-262-3/+12
|
* Passing a u_char to ntohs() is guaranteed to give the wrong answer !brian2003-03-261-2/+2
| | | | Submitted by: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
* Add a ``force-scripts'' option for using chat scripts with -direct andbrian2003-03-264-20/+40
| | | | | | -dedicated links. Submitted by: Maksim Yevmenkin <myevmenk@exodus.net>
* Once ppp session is over, the route to ff02::tun0/32 wasume2003-03-251-1/+12
| | | | | deleted, and never came back. Now, the route to ff02::tun0/32 is installed at the end of IPV6CP negitiaton.
* We need filling scopeid to install routes for link-localume2003-03-251-0/+24
| | | | scope addresses.
* Since ppp.link{up,down} is invoked at the end of IPCP negotiation, ifume2003-03-251-2/+32
| | | | | | we need ppp.link{up,down}, we couldn't disable IPCP. Now, if IPCP is disabled, ppp.link{up,down} is invoked at the end of IPV6CP negotiation.
* - Add the 'b' option which causes BLOCKSIZE to be hornored whenmdodd2003-03-254-8/+29
| | | | | the 'q' or 'Q' options are present. - Document BLOCKSIZE.
* Implement the 'Q' option which is like 'q' (quiet output) exceptmdodd2003-03-254-2/+17
| | | | | | | | that it prefaces the output with the package name. This is useful for things like this: # pkg_info -Qsa | awk -F : '{print $2 "\t" $1}' | sort -rn | expand -t 10
* Use correct item to track max width of listeivind2003-03-241-1/+1
|
* Fix bug that made cdcontrol play <track> play <track> - 1eivind2003-03-241-2/+2
|
OpenPOWER on IntegriCloud