Commit Graph

5284 Commits

Author SHA1 Message Date
itojun
b596a9b104 rename securepath.3 into secure_path.3, as the function is named secure_path().
it is too hard to guess...
2000-07-07 11:05:06 +00:00
ad
44588903fc Couple of nits. 2000-07-07 10:33:12 +00:00
ad
dbd0d28913 Fix typo. This probably would have stopped passwd(1) working if
/etc/passwd.conf didn't exist.
2000-07-07 10:32:48 +00:00
itohy
af83a97717 Add special treatment of shmat(2).
On m68k ELF calling standard (__SVR4_ABI__), if a function
returns a pointer, the return value should go to a0 as well as d0.
2000-07-07 08:20:50 +00:00
itohy
7daefc5a5a Passing "char" values to ctype(3) functions is problematic.
If an argument of a ctype function is outside "unsigned char"
and if it is not EOF, the behavior is undefined.

The isascii(3) is the sole exception of above and it was used to
be used to check a value was valid for other ctype functions in
ancient systems.  On modern systems, the ctype functions take
all values of "unsigned char", and this check is obsolete and
even wrong for non-ASCII systems.  However, we leave the isascii()
untouched for now, so as not to change the current behavior.
2000-07-07 08:03:36 +00:00
cgd
f447d9b890 to get (f)lex output to go to stdout, use -t (a flag supported by
flex) rather than -o/dev/stdout which uses a flex feature (-o isn't
in vendor lex, at least on solaris 7) and also requires that
"/dev/stdout" function in the expected manner.
2000-07-07 05:30:58 +00:00
fair
1513bd135d Add a proper DESCRIPTION to the man page, per PR 10072. 2000-07-07 05:18:49 +00:00
mjl
62318ed7e2 Bring s/key closer to RFC2289 conformance by pulling in changes
from OpenBSD to make use of different hash functions possible.
Also factored out some common code pieces, ANSIfied and
corrected SHA1 hash to make the result match up with the
regression examples in above RFC.
2000-07-06 22:30:18 +00:00
kleink
b5b9011dbf Note that localtime_r() does not imply tzset(); inspired by a conversation
with Hal Murray in the trail of PR lib/10282.
2000-07-06 16:19:15 +00:00
ad
2a9ac348ae Oops - declare static functions. 2000-07-06 13:39:47 +00:00
ad
240f3596cb Use ':' as group prefix; suggested by hubertf. 2000-07-06 13:09:46 +00:00
hubertf
7570e9053d Improve description for tm_year and some other fields.
May prevent PRs like 10521 in the future.
2000-07-06 12:44:31 +00:00
ad
8a82d4a86e Bump libutil minor (pw_getconf()). 2000-07-06 11:26:23 +00:00
ad
ac9fc8f4e6 Handle non-DES encrypted passwords; currently only MD5. 2000-07-06 11:13:49 +00:00
ad
49de2aa1ce Add __md5crypt(), for internal use by libcrypt. This behaves for the most
part like crypt() but uses a proprietry encryption scheme that utilises MD5.
From FreeBSD via OpenBSD.
2000-07-06 11:12:42 +00:00
ad
7b3efebed5 Documentation for pw_getconf(). From OpenBSD. 2000-07-06 11:08:19 +00:00
ad
82be161e7c - Add pw_getconf(). This is used to read configuration information from
passwd.conf. From OpenBSD.
- ANSIfy.
2000-07-06 11:06:12 +00:00
christos
473ea2c4e7 add explicit casts to avoid parameter conversion warnings. 2000-07-06 03:14:05 +00:00
christos
6b283a58bd avoid losing precision warnings 2000-07-06 03:13:22 +00:00
christos
deb154d2bc add __RPC_GETXID macro
don't const castway __rpc_getconf and __rpc_getconfig. It might try to
write const strings
fix non-portable casts
remove duplicated prototypes
cast things to proper types
remove extraneous casts to NULL
fix variable cast mismatches
remove register var declarations
2000-07-06 03:10:34 +00:00
christos
b056680b9b remove register
adjust types to match functions
elide non-portable casts
cast to proper types
2000-07-06 03:06:45 +00:00
christos
6a3d07cc2d get prototypes from rpc/nettype.h
avoid non-portable casts
add explicit casts
2000-07-06 03:05:20 +00:00
christos
3ee90709fb elide non-portable casts 2000-07-06 03:03:59 +00:00
christos
ea5394abfa remove unnecessary casts to NULL 2000-07-06 03:03:30 +00:00
christos
ae40c8edb2 remove register
elide non-portable casts
2000-07-06 03:02:22 +00:00
christos
1c3b369611 add explicit casts
elide non-portable casts
2000-07-06 03:01:32 +00:00
christos
373996b8e8 add constcond lint directive 2000-07-06 03:00:39 +00:00
christos
bc44f19756 add explicit casts
elide non-portable casts
2000-07-06 03:00:16 +00:00
christos
e464ac9461 add explicit casts 2000-07-06 02:59:47 +00:00
christos
43264d6a9a add argsused lint directives
add explicit casts
elide non-portable casts
2000-07-06 02:59:20 +00:00
christos
e9001c0972 elide non portable casts
add lint const castaway directives
2000-07-06 02:58:07 +00:00
christos
db34dc9efd de-register
use the proper types for vars
2000-07-06 02:57:23 +00:00
christos
b5835eb63b remove noop checks 2000-07-06 02:56:55 +00:00
christos
47197be00f elide non-portable casts 2000-07-06 02:56:25 +00:00
christos
a0d18445ab avoid non portable casts 2000-07-06 02:55:45 +00:00
christos
970724237c avoid non-portable casts 2000-07-06 02:54:55 +00:00
christos
7bc5ea812e - remove unused vars
- fix non-portable casts
2000-07-06 02:54:12 +00:00
christos
b0c8c0de7d - avoid non portable casts
- cast arguments to avoid promotion warnings
2000-07-06 02:53:12 +00:00
christos
5570317afb add CONSTCOND where appropriate 2000-07-06 02:52:07 +00:00
christos
f277b22775 fix non-portable shift. 2000-07-06 02:50:35 +00:00
christos
3974a782d3 explicitly cast to u_char 2000-07-06 02:50:22 +00:00
christos
a74cfaaa6e mark the prototype mismatch as linted. We cannot do better because of the
widening ansi rules.
2000-07-06 02:49:41 +00:00
christos
2b3ae9ea3e remove extra semi's 2000-07-06 02:48:41 +00:00
he
87788b7d50 No longer abuse the "minor" number in the shlib_version file to
optionally contain the "teeny" version number.  Instead, introduce
a separate optional "teeny" variable.  This corresponds to the change
in revision 1.171 of share/bsd.lib.mk.
2000-07-05 18:56:20 +00:00
cyber
6dbf0c76e9 fix typo: rmd160l.c -> rmd160hl.c 2000-07-05 16:10:36 +00:00
veego
1b45532bcc Bump the minor version, because RIPEMD-160 was added to libc. 2000-07-05 16:08:28 +00:00
msaitoh
f6f00e2615 remove extra period in SEE ALL section 2000-07-05 15:45:28 +00:00
veego
94a5610765 Add CPPFLAGS+= -DNO_{RSA,IDEA,RC5}. 2000-07-05 14:00:38 +00:00
ad
a3c934e555 - Need to #include <sys/endian.h>.
- ANSIfy.
2000-07-05 13:51:32 +00:00
ad
2e5803c734 - No need to include <sys/uio.h>.
- ANSIfy.
2000-07-05 13:49:25 +00:00