summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* setproctitle() requires unistd.h and not libutil.h/-lutilbrian2000-09-021-3/+1
|
* Move setproctitle() from libutil to libc (after a repo-copy)brian2000-09-025-255/+5
| | | | | | | | | and bump __FreeBSD_version to 500012 to mark the occasion. setproctitle() is prototyped in unistd.h as opposed to stdlib.h where OpenBSD and NetBSD have it. Reviewed by: peter
* Match IPPROTO_ICMP with IP protocol field of the original IPru2000-09-011-2/+2
| | | | | | | datagram embedded into ICMP error message, not with protocol field of ICMP message itself (which is always IPPROTO_ICMP). Pointed by: Erik Salander <erik@whistle.com>
* Treat empty lang as "C" lang tooache2000-09-011-1/+1
|
* Set rcsid to correct valuephantom2000-09-011-24/+6
| | | | | Resort #include files Remove SYSV compatibility chunks
* protect .h file contents correctly.phantom2000-09-011-18/+3
|
* Remove unused indirect references to cat* functions.phantom2000-09-015-83/+4
|
* Fix memory leak introduced by kris in rev 1.22phantom2000-09-011-0/+2
|
* setlocale may return NULL, handle this case too by resetting to "C"ache2000-09-011-5/+3
|
* Move protection code down to handle NL_CAT_LOCALE case too.ache2000-09-011-2/+3
|
* Protect from badly formed LANG variableache2000-09-011-1/+2
|
* Changed the way we handle outgoing ICMP error messages -- doru2000-09-011-12/+22
| | | | | | | | not alias `ip_src' unless it comes from the host an original datagram that triggered this error message was destined for. PR: 20712 Reviewed by: brian, Charles Mott <cmott@scientech.com>
* Import XPG4-compliant basename(3) and dirname(3) from OpenBSD.des2000-08-315-2/+364
| | | | | | | | The man pages need some adjustments. PR: 12960, 12962 Submitted by: James Howard <howardjp@wam.umd.edu> Obtained from: OpenBSD
* Document the FTP_PROXY and HTTP_PROXY variables better.des2000-08-311-0/+4
|
* Grab ADJUST_CHECKSUM() macro from alias_local.h.ru2000-08-311-17/+0
|
* Create aliasing links for incoming ICMP echo/timestamp requests.ru2000-08-312-47/+24
| | | | | This makes outgoing ICMP echo/timestamp replies to be de-aliased with the right source IP, not exactly the primary aliasing IP.
* catgets: detect if fd becomes invalid after exec and return default responseache2000-08-301-6/+6
| | | | cosmetique, use NULL for pointers comparison
* Explicetely describe catalog descriptor lifetimeache2000-08-301-0/+6
|
* Replace strtok with strsep (strtok is not allowed in libraries)ache2000-08-301-1/+1
| | | | Approved by: markm
* strtok -> strsep (no strtok allowed in libraries)ache2000-08-292-6/+8
|
* strtok -> strsep (no strtok allowed in libraries)ache2000-08-291-3/+6
| | | | add unsigned char cast to ctype macro
* strtok() -> strsep() (no strtok() in libraries allowed)ache2000-08-292-16/+26
| | | | | | small cleanup in nearby area: pointer 0 -> NULL, according to manpages hardcoded constant -> sizeof(buf)
* According to the susv2 man pages I have, remove(3) should act asdwmalone2000-08-282-7/+26
| | | | | | | | | rmdir(2) on directories and unlink(2) otherwise. This modification, and most of the man page update has been obtined from OpenBSD. This was spotted by someone on a mailing lists a few months ago, but I've lost their mail. Reviewed by: sheldonh
* Sync with NetBSD:n_hibma2000-08-266-14/+14
| | | | | Print unknown usages with 4 digits. Mask in page extraction.
* Still have to support libscrypt for now :( Add #defines to take DESgreen2000-08-241-0/+2
| | | | out for it.
* Add weak symbol pragma for crypt_set_format().asmodai2000-08-231-0/+6
| | | | Approved by: green
* The second call to _thread_kern_sig_defer() in sem_post() should be a calljasone2000-08-233-3/+3
| | | | to _thread_kern_sig_undefer().
* Stick login_setcryptfmt() in its own file to make pulling in ofgreen2000-08-233-17/+46
| | | | -lcrypt only happen if truly necessary.
* The API change mentioned in the previous revision has been backed out, sojhb2000-08-221-5/+0
| | | | | | back out the corresponding documentation. Noticed by: brian, ume
* How did you sneak in...green2000-08-221-1/+1
|
* Add working and easy crypt(3)-switching. Yes, we need a whole new APIgreen2000-08-228-19/+135
| | | | | | | | | | | | | | for crypt(3) by now. In any case: Add crypt_set_format(3) + documentation to -lcrypt. Add login_setcryptfmt(3) + documentation to -lutil. Support for switching crypt formats in passwd(8). Support for switching crypt formats in pw(8). The simple synopsis is: edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :) Reviewed by: peter
* Remove duplicate FreeBSD id tags.jhb2000-08-213-3/+0
|
* Grok 125 replies to passive RETR. This fixes an interoperability bug withdes2000-08-211-1/+2
| | | | | | Microsoft FTP Service. Reported by: asmodai, eivind
* Fix two bugs:archie2000-08-172-30/+12
| | | | - The ftpPassive()
* Fix style bugs (including ones introduced from OpenBSD).green2000-08-162-58/+32
|
* Fixed PunchFW code segmentation violation bug.ru2000-08-141-5/+4
| | | | Reported by: Christian Schade <chris@cube.sax.de>
* Use queue(3) LIST_* macros for doubly-linked lists.ru2000-08-141-65/+18
|
* Fix an off-by-one error in the recursive mutex handling that made italfred2000-08-133-9/+9
| | | | | | | prematurely release recursive mutexes. Test case provided by: Bradley T. Hughes <bhughes@trolltech.com> Reviewed by: deischen
* The rest of the changes needed to support the new version of sendmail (8.11.0).gshapiro2000-08-123-1/+40
| | | | | | Beyond changes to the build system, this includes fixing up the sample freebsd.mc configuration for changes in defaults and syntax, removing outdated documentation, and updating the release notes.
* - Added support for installing boot0 and boot0.5 for PC-98.nyan2000-08-123-2/+75
| | | | - Cosmetic changes.
* Add the -mpreferred-stack-boundary=2 option to reduce code bloat. Wepeter2000-08-111-0/+4
| | | | compile the kernel with this.
* Add support to send the string 'PXEClient' as the Vendor classps2000-08-113-4/+32
| | | | | | identifier to the DHCP server. Now you can check for this string in your dhcp configuration to decide whether you will hand out a lease to the client or not.
* Don't retry connecting via the same medium.ume2000-08-101-16/+8
| | | | | | | | I changed to close to original code before merging IPv6 support. It seems having delay before another try is useless. However, I'm not sure that delay means. So, I leave it as-is. PR: bin/20515
* mention getipnodeby* and get{addr,name}info are not thread-safe. (sync with ↵itojun2000-08-096-21/+110
| | | | | | | kame) s/.Os KAME/.Os/ comment From: Greg Thompson
* - Do not modify Peer's Call ID in outgoing Incoming-Call-Connectedru2000-08-091-18/+25
| | | | | | | | PPTP control messages. - Cosmetics: replace `GRE link' with `PPTP link'. Reviewed by: Erik Salander <erik@whistle.com>
* This is an overhaul of the mode page handling in camcontrol as well askbyanc2000-08-082-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | related patches. These include: * Mode page editting can be scripted. This involves two things: first, if stdin is not a tty, changes are read from stdin rather than invoking $EDITOR. Second, and more importantly, not all modepage entries must be included in the change set. This means that camcontrol can now gracefully handle more intrusive editting from the $EDITOR, including removal or rearrangement of lines. It also means that you can do stuff like: # echo "WCE: 1" | camcontrol modepage da3 -m 8 -e # newfs /dev/da3 # echo "WCE: 0" | camcontrol modepage da3 -m 8 -e * Range-checking on user-supplied input values. modeedit.c now uses the field width specifiers to determine the maximum allowable value for a field. If the user enters a value larger than the maximum, it clips the value to the max and warns the user. This also involved patching cam_cmdparse.c to be more consistent with regards to the "count" parameter to arg_put (previously is was the length of strings and 1 for all integral types). The cam_cdbparse(3) man page was also updated to reflect the revised semantics. * In the process, I removed the 64 entry limit on mode pages (not that we were even close to hitting that limit). This was a nice side-effect of the other changes. * Technically, the new mode editting functionality allows editting of character array entries in mode pages (type 'c' or 'z'), however since buff_encode doesn't grok them it is currently useless. * Camcontrol gained two new options related to mode pages: -l and -b. The former lists all available mode pages for a given device. The latter forces mode page display in binary format (the default when no mode page definition was found in scsi_modes). * Added support for mode page names to scsi_modes. Allows names to be displayed alongside mode numbers in the mode page listing. Updated scsi_modes to use the new functionality. This also adds the semicolon into the scsi_modes syntax as an optional mode page definition terminator. This is needed to name pages without providing a page format definition. * Updated scsi_all.h to include a structure describing mode page headers. * Added $FreeBSD$ line to scsi_modes. Inspired by: dwhite Reviewed by: ken
* If using a DB_RECNO, db::put should return the new key if R_IAFTER isgreen2000-08-081-1/+9
| | | | | | set, not the previous key. Add $FreeBSD$, not taking this off the vendor branch because it's not on.
* - Fixed warnings and typo.nyan2000-08-082-1/+6
| | | | | | - Recognize slice type 0x24 as FAT (only PC-98). Submitted by: Nobuyuki Koganemaru <kogane@koganemaru.co.jp>
* kevent() is not a POSIX cancellation point, so _kevent() need not bejasone2000-08-081-7/+2
| | | | | | defined. Remove some unnecessary header file inclusions.
* Add wrapper for kevent() syscalljlemon2000-08-0713-9/+95
| | | | Noted as missing by: nicolas.leonard@animaths.com
OpenPOWER on IntegriCloud