Commit Graph

11297 Commits

Author SHA1 Message Date
pooka 2261925b3f last change to file.h modified struct magic: bump major 2006-10-31 21:53:17 +00:00
pooka ee36ba9a5e new magic entry types - bump minor 2006-10-31 21:33:16 +00:00
pooka a13aa097ce rebuild 2006-10-31 21:29:23 +00:00
cbiere 4b14bb6309 Changed error message of ENOPROTOOPT to "Protocol option not available". 2006-10-31 00:38:06 +00:00
mjf b8fbc57a69 Add references to other filehandle man pages.
OK'd martin@
2006-10-30 18:53:42 +00:00
christos f45c81bb89 set n properly so that we can terminate. 2006-10-30 05:10:40 +00:00
christos 9984f7540a fix name in weak alias. 2006-10-29 16:22:17 +00:00
christos 29741647a2 add {v,}snprintf_ss 2006-10-28 23:20:57 +00:00
wiz bb93eb1630 Remove trailing whitespace. Use .Bl -enum for an enumeration. 2006-10-28 22:50:16 +00:00
agc 7fa420acd5 catch up with new location for rmd160.h header file 2006-10-28 15:35:28 +00:00
christos 78921a0243 Initialize decimal_point. 2006-10-28 15:02:02 +00:00
christos f71e448c3b initialize floating_point as needed. 2006-10-28 14:38:55 +00:00
agc 08c311c029 More cleanup after sha2.h and rmd160.h moved house 2006-10-28 13:05:42 +00:00
christos 5c60f22be5 need to negate before masking; from abp. 2006-10-27 21:36:50 +00:00
christos a3fadcee99 this moved to common/lib/libc/hash 2006-10-27 21:24:35 +00:00
christos d15d9f8a71 add async-signal-safe versions: syslog_ss and vsyslog_ss
multithread-safe syslog_r and vsyslog_r are not async-signal-safe.
2006-10-27 20:00:55 +00:00
christos abca035cf3 Add signal-safe versions of snprintf and vsnprintf 2006-10-27 19:59:58 +00:00
drochner 65b9988ba4 gently add some "const", and avoid some casts
compiles with WARNS=4 now (on i386 and alpha)
2006-10-27 19:39:11 +00:00
drochner 50ea67a5eb As discussed back in June, remove hmac_sha1 and hmac_md5 from libc, to
reduce bloat and namespace trouble. (both were never public; hmac_sha1
is moved to libcrypt now because it is used locally there)
2006-10-27 18:29:21 +00:00
drochner d16ceb033e As discussed back in June, move the implementation of hmac_sha1 here
because this is not a public function and crypt-sha1.c is the only
place where it is used (It must have been that way formerly, because
there was a stale prototype in crypt.h all the time.)
Being here, do some RCSID and prototype cleanup, and add as much "const"
as needed to compile these files with WARNS=3.
2006-10-27 18:22:56 +00:00
tnozaki 1a00f7afa4 don't pass through surrogate character(0xD800 - 0xDFFF). 2006-10-27 14:13:55 +00:00
uwe 575dae7120 Add prop_dictionary_all_keys.3 link (hi, potr). 2006-10-27 01:29:37 +00:00
uwe b0f3335e9a Add syslog_r.3 link (hi christos). 2006-10-27 01:24:26 +00:00
pooka 1fc270ecf0 pass rdev for specfs support 2006-10-26 22:53:01 +00:00
thorpej 1aea07a325 Add prop_array_t support to prop_kern. 2006-10-26 18:51:21 +00:00
wiz d8f71c6e09 Various fixes. 2006-10-26 13:08:17 +00:00
wiz 89d6e88da7 Bump date for previous. 2006-10-26 12:56:11 +00:00
christos 64c9721228 don't use strerror_r in the re-entrant case. 2006-10-26 10:00:38 +00:00
thorpej 26d4f90430 - Add prop_dictionary_all_keys(). Takes a snapshot of a dictionary's
keys and returns them in an array.  This effectively allows a caller
  to mutate a dictionary while iterating over it (really, you iterate
  over the array of keys instead of the dictionary itself).
- Add a slew of utility functions that make it more convenient (in some
  circumstances, anyway) to get/set values in a dictionary.
2006-10-26 05:02:12 +00:00
christos 77f9f63fa2 add _r functions for syslog from OpenBSD 2006-10-25 23:49:31 +00:00
uwe 87cd2874b2 G/c check() macro, b/c it's used only twice and the off < 0 test is
useless in the first case (off is 0), and causes error with new gcc
(comparison of unsigned expression < 0 is always false) in the
second.

While here fix a typo in a comment and use less indent to make BAD and
BADUNMAP definitions fit 80 columns.

XXX: The second check should probably be more elaborate to protect
against bogus/malicious COFF files.
2006-10-25 20:43:49 +00:00
pooka bda8cd7266 handle PUFFS_VN_INACTIVE 2006-10-25 18:15:50 +00:00
mlelstv 999ac788ac don't segfault on NULL pointer if number of rounds is
not specified in passwd.conf.
2006-10-24 22:49:19 +00:00
pooka c643be45eb dump correct name for vfs operations 2006-10-23 16:53:17 +00:00
he b98baf7a62 Avoid "unsigned < 0" comparison by open-coding the remaining part
of the check() macro.
2006-10-23 15:27:41 +00:00
rillig 5968766094 open(2) can fail with EPERM. 2006-10-23 14:04:05 +00:00
mrg 6bb0c03185 use casts to properly truncate some assignments. (sparc64 gcc complained.) 2006-10-23 03:18:30 +00:00
christos d6a795f6a8 put back the comparison in a lint friendly way to appease pooka. 2006-10-23 03:13:13 +00:00
dogcow acba3dfe4b comment out comparison of unsigned expression to >= 0 2006-10-23 03:11:53 +00:00
christos 7ef97c92be use portable prints 2006-10-23 03:10:09 +00:00
pooka 718426155f still check for array bounds, fix off-by-one 2006-10-23 01:36:13 +00:00
christos bc7a8f1f3d fix a lint warning. 2006-10-23 01:23:42 +00:00
christos b6f6a56052 pass lint; fix install. 2006-10-23 00:22:24 +00:00
dogcow 8f7efdd62a add the .include <bsd.own.mk>, so .d and .o files don't end up in the CWD.
remove INCDIR=/usr/include, as my leenooks system doesn't have puffs .h files.
2006-10-22 23:51:37 +00:00
pooka 1635cf06bc add libpuffs - the userspace programming interface for puffs
This work was initially started and completed for Google SoC 2005
and tweaked to work a bit better in the past few weeks.  While
being far from complete, it is functional enough to be able and
stable to host a fairly general-purpose in-memory file system in
userspace.  Even so, puffs should be considered experimental and
no binary compatibility for interfaces or crash-freedom or zero
security implications should be relied upon just yet.

The GSoC project was mentored by William Studenmund and the final
review for the code was done by Christos.
2006-10-22 22:52:21 +00:00
mrg d257e1e9bd __weakref__ attribute can not be applied to anything when inside function
scope, so, move the extern of get_alias_text outside vi_alias().

fixes build problems with GCC 4.1-20061021.
2006-10-22 07:48:13 +00:00
rillig ced22230a0 Added a cross reference to stat(2), since that's the way how the current
flags can be determined.
2006-10-21 18:26:08 +00:00
christos 8c97c569de include ecalloc() from our anonymous user. 2006-10-20 17:40:39 +00:00
christos 284c960b4d typo from our anonymous user. 2006-10-20 17:40:18 +00:00
skrll 7e68cfaa21 powerpc MD_DO_NOT_NEED_FALLTHRU.
OK'ed by Matt Thomas.
2006-10-19 18:59:30 +00:00