Commit Graph

762 Commits

Author SHA1 Message Date
hpeyerl 1da03a4d37 If we're going to re-activate these guys; we better make sure they
compile.
1994-05-28 23:37:53 +00:00
mycroft 63962a5c5e We have shm again. 1994-05-28 23:16:48 +00:00
jtc 241ecab4d2 Describe POSIX behavior of sleep.
More could be added, especially describing the effects of scheduling and/or
blocking SIGALRM outside of a sleep().  Also, using longjmp() in a signal
handler.  But this will do until someone gets inspired to fill in the
grotty details.
1994-05-28 16:11:27 +00:00
jtc 5ab3d5f30a Changed to be POSIX.1 complian; now sleep can be interrupted, and it returns
the amount of time left "unslept" when it is.
1994-05-28 06:25:04 +00:00
phil 6536072af7 add missing include 1994-05-27 21:56:04 +00:00
deraadt cda7e4788e fix the stupid select bug AGAIN 1994-05-27 18:56:24 +00:00
deraadt 1dc628861d fix typo 1994-05-26 00:31:53 +00:00
cgd 9e263d13ee kill typo, pointed out by John Hay <jhay@mikom.csir.co.za> 1994-05-25 20:37:52 +00:00
deraadt 3bf2b62f1f correct copyright 1994-05-25 09:52:05 +00:00
mycroft d1584360d9 Clean up deleted files. 1994-05-25 01:49:34 +00:00
jtc 3518e0a880 New localeconv() implementation that constructs it's return value from
the current numeric and current monetary locale data.
1994-05-25 01:49:32 +00:00
jtc 15d0e3dedd Get the day, month, format, etc. strings from the current time locale
structure instead of static data.
1994-05-25 01:20:19 +00:00
jtc 962cf82dd8 Compile the default locale data for LC_NUMERIC, LC_MONETARY, and LC_TIME. 1994-05-25 01:17:14 +00:00
jtc faab9fa25d Fixed major bogon: What happened to Wednesday! 1994-05-25 01:11:45 +00:00
jtc 438e938546 Default Locale Data 1994-05-24 23:40:06 +00:00
deraadt 7433140cea need sys/param.h 1994-05-24 08:17:37 +00:00
glass ae1bfcddc4 libc support for mips. libkern hooks are disabled 1994-05-24 07:12:09 +00:00
cgd 1dc033755e clean up import 1994-05-23 00:55:25 +00:00
cgd 26fc33ba8d _VA_LIST_ -> _BSD_VA_LIST_ 1994-05-22 23:14:07 +00:00
chopps 79ae46e57f no more lsearch.3. 1994-05-21 09:17:49 +00:00
mycroft 7006d9d304 Clean up deleted files. 1994-05-20 06:19:50 +00:00
jtc 70b7b8f795 44lite moved cfree() to libcompat 1994-05-20 06:19:47 +00:00
mycroft cf8aad3231 Clean up deleted files. 1994-05-19 06:27:13 +00:00
jtc 44aaa7fd0d cuserid() was moved to libcompat w/4.4 lite. 1994-05-19 06:27:11 +00:00
mycroft 66f3291923 Clean up deleted files. 1994-05-19 06:09:13 +00:00
jtc 69fbb0938f 4.4lite's libcompat provided a lsearch() and lfind() implementation which
has been already integrated into NetBSD, so we don't need/want mine anymore.
1994-05-19 06:09:10 +00:00
jtc 86da5c14f9 The umask effects mknod(2) too. 1994-05-18 14:36:13 +00:00
jtc be373c50a3 Fix required #include files and function prototype. 1994-05-18 14:31:43 +00:00
cgd 7aa3357e1b udpated rcmd 1994-05-18 06:35:14 +00:00
deraadt 4438ac29e5 sigaltstack 1994-05-17 23:56:24 +00:00
mycroft be4f78724b Add {set,get,end}netgrent(). 1994-05-17 13:32:31 +00:00
mycroft 6bb037ec32 From 4.4-Lite. 1994-05-17 13:30:51 +00:00
mycroft f5392c8ae8 Add realpath(3). 1994-05-17 12:44:06 +00:00
mycroft 1c98b23af1 New from 4.4-Lite. Needed for some 4.4 FS utilities. 1994-05-17 12:42:30 +00:00
cgd 725ed31e82 copyright foo 1994-05-17 04:13:48 +00:00
cgd b55fd24a8e new assert helper 1994-05-17 00:07:23 +00:00
jtc d44d58bfcc Fix typo, from Giles Lean (Fixes bug #248) 1994-05-16 20:15:04 +00:00
cgd 41006bd47b rcsids. also, avoid floating point when picking scale value. doesn't
cost much, only done once.
1994-05-14 06:31:10 +00:00
cgd a3c4771808 add new gmon stuff, rearrange inclusions 1994-05-14 06:25:56 +00:00
cgd da60d30fb3 user-land profiling code. 1994-05-14 06:02:57 +00:00
deraadt 94677efe9e size_t 1994-05-13 22:23:05 +00:00
cgd acdc4b7e70 shm sources won't compile; no more shm.h 1994-05-11 04:45:13 +00:00
chopps a6a8e78548 update to use sigaltstack. 1994-05-10 08:15:57 +00:00
jtc 3cb178ff70 merge in our POSIX.2 changes (again) 1994-05-09 16:28:27 +00:00
cgd e23e45bcfc new nlist routines 1994-05-09 03:14:43 +00:00
cgd 77c263426a oops, forgot to delete 1994-05-08 04:35:22 +00:00
mycroft 0cc9738192 Clean up deleted files. 1994-05-07 04:11:57 +00:00
cgd 8b8a31862e update for present reality. shlib version number bump (last for a bit) 1994-05-07 04:11:08 +00:00
cgd fc7bd30680 new syscalls 1994-05-07 03:27:01 +00:00
cgd 081527a861 hostid functions 1994-05-07 03:24:46 +00:00
cgd 3580a0da69 domainname stuff 1994-05-07 03:09:19 +00:00
cgd eb985c6d35 clean up conflicts 1994-05-07 03:03:09 +00:00
cgd 060d0e3d1a various sysctl-related libc functions 1994-05-07 02:52:59 +00:00
jtc e15ede0fe3 revoke(2) manpage 1994-05-07 00:35:36 +00:00
jtc 4853bb7972 44lite code 1994-05-07 00:26:28 +00:00
cgd cd45651c63 devname() routine 1994-05-06 22:48:31 +00:00
jtc e8ed9b3ab8 merge our changes into 4.4lite 1994-05-06 18:44:23 +00:00
jtc a5284b9db4 merge back in our changes (mostly POSIX.2 pedanticism) 1994-05-06 18:18:33 +00:00
jtc 34ae5e111c sync with 44lite 1994-05-06 18:02:02 +00:00
cgd 218c24c1ae clean 1994-05-06 01:02:52 +00:00
cgd ec3c28bf59 add getgrouplist 1994-05-05 23:12:53 +00:00
cgd 33b1618a57 rlimit stuff, and more. bump shlib major, for rlimit change, and for
safety (now that hackish off_t stuff gone completely.)
1994-05-04 02:30:39 +00:00
phil 5f26aade17 shared lib support and some clean up. 1994-05-03 20:39:52 +00:00
jtc aec02f9cc9 Correctly describe conditions of ESRCH & EACCESS errors 1994-05-02 23:54:59 +00:00
cgd 9f0883781f update to match reality; this was *really* out of date! 1994-04-25 18:47:04 +00:00
mycroft d3972d5149 Get rid of extra calls to strlen(). 1994-04-24 01:05:13 +00:00
mycroft 409eebd101 Print the name of the program using a deprecated function. 1994-04-24 01:01:29 +00:00
mycroft aa5c63cbe2 Print the name of the program using a deprecated syscall. 1994-04-24 01:00:39 +00:00
jtc e01da66af0 POSIX.1 says that strftime() must call tzset() as an application can change
the TZ environment variable while it is running.

Arnold Robbins' strftime() implementation from comp.sources.unix caches
the value of TZ to avoid calling tzset() (it's expensive) unless it has
been changed.  But since POSIX.1 also requires ctime(), localtime(),
and mktime() to call tzset(), I think that it is better for tzset()
itself to determine whether or not to parse a new timezone file.
1994-04-22 22:11:52 +00:00
jtc 38065bce20 Remove description of EINVAL, "The pathname contains a character with the
high-order bit set", as this error is obsolete.

Eventually we may want to add code to some of the "optional" filesystems
(msdosfs, etc.) that checks for illegal characters.  At that time it would
be appropriate to reintroduce this error with appropriate text.  Perhaps
"The pathname contains a character that is not valid for filesystem type".
1994-04-22 00:13:22 +00:00
jtc a3376999f0 Use symbolic names {NAME_MAX} & {PATH_MAX} instead of 255 and 1023 in
description of ENAMETOOLONG error.
1994-04-19 00:10:45 +00:00
jtc 4304e0ec4e Add curly braces around NGROUPS_MAX.
This convention is used in manpages for other UN*X systems to refer to
system values (availiable via sysconf() or pathconf()) rather than
definitions in <limits.h>.
1994-04-19 00:09:04 +00:00
cgd bbec950385 POSIXification and bostic's official fix for the missing relative path problem 1994-04-17 02:21:02 +00:00
jtc 2c861674c4 First cut at a setsid(2) manual page. 1994-04-15 22:48:01 +00:00
jtc 2f9562f951 Describe special case when gidsetlen == 0.
NGROUPS -> NGROUPS_MAX.
1994-04-15 22:44:06 +00:00
jtc 293ba06c9d Describe causes of EINVAL error.
NGROUPS -> NGROUPS_MAX.
1994-04-15 22:43:25 +00:00
deraadt 0681fe2f1e set h_errno for non-BIND failed lookups too 1994-04-14 07:47:37 +00:00
cgd 6e0cf55f61 setproctitle(); no reason to have this code spread into N utils... 1994-04-14 03:13:39 +00:00
cgd dcf70f0099 fix warning. 1994-04-12 23:20:35 +00:00
cgd d7bb411a87 re-POSIXIFICATION. should have been punted back to bostic... 1994-04-12 04:41:17 +00:00
cgd 1bf99f645f oops, restore bug fix that wasn't fed back to bostic... 1994-04-12 04:35:04 +00:00
cgd 92bb6b9feb minor fixes 1994-04-12 03:21:35 +00:00
glass f7a0b6da1d bleh 1994-04-11 06:36:04 +00:00
cgd 7891b9b4af print warnings, and use a helper function, to optimize... 1994-04-10 06:32:32 +00:00
cgd 47894a50ac light clean 1994-04-10 00:16:58 +00:00
cgd 5f0c20b37b fix typo; from Thomas Eberhardt 1994-04-09 22:57:32 +00:00
mycroft 886ad6373f And strunvis(3), too. 1994-04-09 01:31:24 +00:00
mycroft bb3b5f1606 There's a big difference between NULL and NUL. 1994-04-09 01:29:31 +00:00
mycroft 3f8fdc7ebf Add links for strvis(3) and strvisx(3). 1994-04-09 01:26:25 +00:00
cgd 4fffd61a7f fix it to be the way i *meant* it to be... 1994-04-08 00:58:04 +00:00
mycroft 30a812575e From Mark Weaver: Fix typo. 1994-04-07 16:28:05 +00:00
deraadt 39217627a5 new resolver -> major bump 1994-04-07 07:07:06 +00:00
deraadt bc93d2c77e new resolver. changes from 4.9.2 by <paul@vix.com>, as well as a number
of features and optimizations by myself.
1994-04-07 06:58:29 +00:00
deraadt fa21a45545 fix for "%R" from <seanv@cs.uq.edu.au> 1994-04-07 06:52:14 +00:00
cgd 46a40b386f M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
1994-04-06 23:29:29 +00:00
mycroft a8735bf4ab Clean up deleted files. 1994-04-06 23:29:16 +00:00
cgd a2770ef528 M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
1994-04-06 23:28:36 +00:00
phil 36d933ca4f quad -1 thing. 1994-04-04 06:54:15 +00:00
cgd 769ce7c7ee fgetln, not fgetline 1994-04-03 01:38:27 +00:00
cgd 418fa0e8ae fpos_t stdio changes 1994-04-03 01:36:56 +00:00
cgd ae0bb68985 stubs, to get the padding right. so nasty it's almost unbelievable.
also, kill "special lseek" bogon.
1994-04-02 05:38:15 +00:00
mycroft ca01015e04 Clean up deleted files. 1994-04-02 05:37:06 +00:00
cgd b62b3fc050 have cerror DTRT on returns, w.r.t. quads and -1. it needs to be done
here (think of syscall(SYS_lseek,...)).  also, kill bogus lseek thang.
1994-04-02 05:37:04 +00:00
mycroft 345c8ef85c Clean up deleted files. 1994-04-02 05:36:54 +00:00
cgd da34d8a406 have cerror DTRT on returns, w.r.t. quads and -1. it needs to be done
here (think of syscall(SYS_lseek,...)).  also, kill bogus lseek thang.
1994-04-02 05:36:52 +00:00
cgd 98e7f7c8fd yup, another major. 1994-04-02 05:35:59 +00:00
cgd dd7a2bfae8 re_format name fixes from Mark Weaver 1994-04-01 08:46:28 +00:00
cgd 75e0f16f1b specify what the args's contents must be 1994-04-01 08:33:59 +00:00
cgd 7875181c2d bad cast 1994-04-01 03:53:29 +00:00
cgd bedbcf1adb delete duplicated info, from Mark Weaver 1994-04-01 03:44:32 +00:00
mycroft d5dbb53fee Set d1 to -1 before cerror. 1994-03-31 18:50:58 +00:00
mycroft 5e7902055e Add lseek.S to SRCS. 1994-03-31 18:39:41 +00:00
mycroft b3086b2299 Need to set %edx to -1 before cerror, though perhaps we should have something
more generic for this.
1994-03-31 18:38:57 +00:00
mycroft a3450ab6e8 Add a .text and .align to SYSCALL(). 1994-03-31 18:31:23 +00:00
cgd a1fcdedb9d oops! 1994-03-30 08:22:07 +00:00
cgd e4e4ac83f6 typo 1994-03-30 06:31:02 +00:00
cgd f67d02e52c gid_t is your friend! 1994-03-30 03:51:32 +00:00
cgd abc6222e32 update based on some work i did for 4.4BSD 1994-03-29 10:50:28 +00:00
cgd 1d2110a409 be reasonable and unique. 1994-03-29 10:46:37 +00:00
chopps 2c8fad6100 Need for copy-to-libkern-machdep in ../../Makefile 1994-03-29 07:10:36 +00:00
jtc 76ac392966 Last weekend's uid_t & gid_t changes allow us to change the uid & gid
arguments to fchown() from ints to a uid_t and a gid_t.
1994-03-29 02:54:58 +00:00
jtc c461cc3066 Last weekend's gid_t changes allow us to change the gidset argument of
getgroups() and setgroups() from a int ptr to a gid_t ptr.
1994-03-29 02:46:37 +00:00
jtc c9db20ec0b Last weekend's gid_t changes allow us to change the gidset argument of
getgroups() and setgroups() from a int ptr to a gid_t ptr.
1994-03-29 02:46:29 +00:00
cgd e075c679c6 don't ever extern lseek... 1994-03-28 02:34:45 +00:00
cgd 75fe90ae2a don't redefine lseek. just ... DON'T DO IT! 1994-03-28 02:19:44 +00:00
cgd 19601b5460 _double_ major number bump! joy! 1994-03-27 09:18:25 +00:00
deraadt e91cd2af40 but described in a posting by <RHussein@uh.edu> somewhere on the net.
select() loop hung if either socket was >=32.
1994-03-27 07:49:10 +00:00
cgd eac55eb1b3 slight mod 1994-03-26 02:51:45 +00:00
jtc 98cbb217ac mem -> reg & reg->reg moves take the same time; so save a cycle by reading
the block length from the stack instead of caching it in a register.
1994-03-22 01:15:47 +00:00
mycroft 46a09934d4 Clean up deleted files. 1994-03-22 01:13:11 +00:00
jtc b7744e07bd Upgrade regex routines to alpha3.4. 1994-03-22 00:39:48 +00:00
cgd 7fe62dc1b8 don't forget section number; from Luke Mewburn <lm@rmit.edu.au> 1994-03-19 08:02:51 +00:00
cgd ed556c22a5 update for new flag 1994-03-18 04:14:27 +00:00
jtc a148e5bcbe Remove machine-dependent atof() implementations; use machine independant
version that wraps strtod() instead.
1994-03-17 01:58:55 +00:00
mycroft b05d947874 Clean up deleted files. 1994-03-17 01:58:27 +00:00
jtc 1f29a3d910 Smaller & Faster. 1994-03-16 17:40:23 +00:00
jtc 5ac78ccb34 [hn]to[nh][sl] functions used xchgb %h1,%b1 instead of the faster (on the
i486 & i586) rorw $8, %w1.
1994-03-16 17:34:14 +00:00
cgd c0ae496079 fix from Paul Vixie for (probably a cut-and-paste) typo 1994-03-16 02:04:14 +00:00
davidb 068965c68b h_errno is an int, not a "struct". 1994-03-12 09:00:01 +00:00
cgd 2df62691cf add some new flags for /etc/ttys' status field 1994-03-12 06:38:48 +00:00
jtc 915f7d4d3d Use RCSID macro. 1994-03-12 01:48:26 +00:00
jtc c95cd47ba2 Use RCSID macro for RCS ID's. 1994-03-12 01:39:55 +00:00
deraadt 00f04ee544 __initdb() should only warn about spwd.db errors once, fix from
Cornelis van der Laan <nils@merlin.ims.uni-stuttgart.de>
1994-03-09 10:10:29 +00:00
phil e69ab544c4 Fixed global var access to be pc relative. 1994-03-09 07:50:56 +00:00
phil 28965bf6db Removing the unnecessary includes of sys/syscall.h. 1994-03-07 23:20:38 +00:00
deraadt 46703c8a4d better, more forgiving solution to previous problem. 1994-03-07 00:58:10 +00:00
deraadt 90250ee80b fix small obscure YP buglet, and properly terminate gr_mem 1994-03-06 09:04:11 +00:00
cgd 6fbe299b0e fix for lib/156: cgetent does access free'd memory,
from Thomas Eberhardt
1994-03-06 07:54:35 +00:00
phil 6cea70fe75 Changing ## to /**/ for use with -traditional mode. 1994-03-04 21:10:12 +00:00
phil d80b7ef7c7 Changing the ns32000 to ns32k as used in other places. 1994-03-02 18:45:22 +00:00