533 Commits (fde637ffe8f92026f2c0264dfe6eeac7667ff75a)

Author SHA1 Message Date
  deraadt f73c2b1c58 do not export error_table 22 years ago
  miod 6819b734ce Suggest better types in examples; from NetBSD 22 years ago
  millert ca00f6f3e4 mark pw_error() __dead since it exits 22 years ago
  dhartmei 3e0b53c913 Back it out, it breaks something in perl (seen with spamassassin), debug 22 years ago
  deraadt 968c135966 permit calloc(0, N) and calloc(N, 0) -- malloc(0) does the right thing; markus miod ok 22 years ago
  deraadt 08616e9a96 return failure if integer overflow happens. sigh; too people had to 22 years ago
  dhartmei b7839b1965 Replace atexit handler. mprotect() the pages so an attempt to modify the 22 years ago
  millert 3a97f67ea7 Convert to ANSI function headers and make 'ch' argument int, not char. 22 years ago
  millert 8605e7d157 Replace strtou?q() with the more standard strtou?ll(), using weak 22 years ago
  deraadt 695e261e2d %u for uid/gid; millert ok 22 years ago
  millert b013f0d14d Now that we don't have a trailing newline we need to explicitly check 22 years ago
  millert 6cea6780f6 Use strtok_r() instead of strsep() since the latter treats consecutive 22 years ago
  millert fab5e38f3f login_fbtab(3) fixes: 22 years ago
  fgsch fb18813faf some -Wall and spaces cleanup, scsi.c left. 22 years ago
  deraadt f1eab69159 unsigned vs unsigned int 22 years ago
  deraadt 1861c91a56 pid_t cleanup 22 years ago
  deraadt 9f44aaa017 strlcpy at most 16 characters, so says man page 22 years ago
  deraadt 5cdc7e2335 strlcpy and KNF 22 years ago
  deraadt 23c67c2ee8 KNF 22 years ago
  deraadt 7c4d34d5bc try to use strlcpy and snprintf more; ok various 22 years ago
  itojun 19f3ad7a81 atexit(3) can fail. handle error accordingly. deraadt ok 22 years ago
  millert d67b87ef2f For strncpy(), dst is not NUL terminated if strlen(src) >= len. 22 years ago
  mpech bc299477ad o) start new sentence on a new line; 22 years ago
  mpech 93a232f650 Initial cleanup: 23 years ago
  pvalchev 5ca0ee4656 wierd -> weird 23 years ago
  mpech c68a3ac420 Clean up after pw_file(). 23 years ago
  pvalchev 849e52ae81 mdoc fixes from pjanzen 23 years ago
  pvalchev 8da612ea6c rephrase warning; from miod 23 years ago
  pvalchev 18eb0e3fca print a warning that realpath points to internal static storage space that 23 years ago
  miod fba1d2eff0 deraadt@ objects to the caveat remark, so remove it. 23 years ago
  miod 2e6a70b044 Slightly improve wording and punctuation. 23 years ago
  miod b796301032 Add a caveat section pointing out that people affecting the return value 23 years ago
  deraadt 893d09ec7a fgsch, if you commit without test compiling ONE MORE TIME, I will send a castration team down to argentina 23 years ago
  fgsch 265d2ab100 use sizeof w/ defines; niklas@ millert@ ok. 23 years ago
  millert d0f45c1a97 We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. 23 years ago
  mpech 1d113f7a3f login_close() should avoid memory leak. 23 years ago
  millert 959b08f109 Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree) 23 years ago
  millert b68c09e067 Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. 23 years ago
  mickey df85ac99b5 fix the history refs 23 years ago
  fgsch f9ed61c293 THREAD_UNLOCK() on error before returning; millert@ ok. 23 years ago
  marc a1df4e69bd compile sparc64 version of sha1.go with -O0, too. OK jason@ 23 years ago
  millert 1e2fd73b66 Use the volatile specifier to fix warnings about variables being 23 years ago
  millert b6c954318e If the user passes in "" as the string to resolve the lstat() will 23 years ago
  mpech a0ba08a5ce pids should be pid_t, not int 23 years ago
  miod f782f2c5fe Two functions can return errors here, not just one. 23 years ago
  deraadt 2ebe322d0c when strerror() has an Unknown error, also set EINVAL 23 years ago
  deraadt b7edc160a2 save the pid as well, and only do the atexit in the same pid 23 years ago
  deraadt 7e48f32113 alloca cannot check if the allocation is valid. mention the consequences; millert ok 23 years ago
  tdeval 77a7c73d5c correct an alignment mis-conception for malloc(0) returned regions. 23 years ago
  deraadt 656331798e document how malloc(0) blobbies are stored, and their character 23 years ago