Commit Graph

201043 Commits

Author SHA1 Message Date
dholland cb269e446a Remove now-unnecessary extra forward decls; sprinkle a little more static. 2011-05-24 06:56:48 +00:00
dholland 20f9d4037f Sort contents of file. 2011-05-24 06:56:16 +00:00
ryo 52e6dde2a6 fix incorrect variable name 2011-05-24 02:31:11 +00:00
mrg cdf9d44f55 fix proc.pid.corename:
- "oldp is not NULL" means the get case
- "newp is not NULL" means the set case
which may both happen at the same time.
2011-05-24 01:19:48 +00:00
mrg 6cc4338539 also match the fujitsu sab: "FJSV,se" (from openbsd, pointed out by jdc) 2011-05-24 01:17:36 +00:00
rmind 7384069ad1 - tmpfs_alloc_node/tmpfs_free_node: move inode limiting into tmpfs_node_get()
and tmpfs_node_put(), update outdated/wrong comments and move/add asserts.
- tmpfs_mount: check for the version of arguments a bit earlier.
2011-05-24 01:09:47 +00:00
joerg a86027b1a0 Conditionalize printfs instead of using conditional empty format
strings.
2011-05-23 23:13:10 +00:00
joerg 108836d4ba Map RCSID to __RCSID 2011-05-23 23:06:41 +00:00
joerg 6047230580 ANSIfy 2011-05-23 23:03:38 +00:00
joerg 8f09f5ccbd Don't use variables as format string. 2011-05-23 23:02:07 +00:00
joerg 6dee362ea8 Kill some pointer indirections. Don't use variables as format strings. 2011-05-23 23:01:17 +00:00
joerg c112023e0a ANSIfy 2011-05-23 22:59:27 +00:00
joerg 1a5e0fc9be #if 0 some unused code. 2011-05-23 22:58:44 +00:00
joerg 7c549d998f Don't use variables as format string. 2011-05-23 22:56:11 +00:00
joerg 57c13365a3 Correctly print variables as strings, not as format string. 2011-05-23 22:53:25 +00:00
joerg cbd2e3d54f Properly print string. 2011-05-23 22:49:59 +00:00
joerg 76266ce815 Don't use variables as format strings. 2011-05-23 22:48:52 +00:00
joerg 278b576ff4 ANSIfy 2011-05-23 22:47:22 +00:00
joerg f3a51298e1 Don't use strings from arrays as format string. 2011-05-23 22:46:35 +00:00
joerg 2d6cc1dbb0 Don't use return value of a function as format string. 2011-05-23 22:44:18 +00:00
joerg 320b4cf47a Make a gross hack nice enough to not trigger warnings with clang. 2011-05-23 22:39:25 +00:00
joerg af600442cc Fix cast 2011-05-23 22:30:14 +00:00
joerg 2dd2550884 Avoid using a variable as format string. 2011-05-23 22:17:50 +00:00
rmind 662361ae07 ufs_wapbl_verify_inodes: update to reality (if somebody decides to use this). 2011-05-23 22:02:26 +00:00
rmind 5cee5af52c Convert some simple_lock(9) uses to mutex(9) and malloc(9) to kmem(9). 2011-05-23 22:00:30 +00:00
joerg ba3d695217 Use __builtin_offsetof if present for _DIRENT_NAMEOFF to avoid false
positives for uninitialized variable checks.
2011-05-23 21:59:23 +00:00
joerg 15e751808f simplify 2011-05-23 21:52:54 +00:00
joerg a66d2b0d4c Don't use the name of the task queue as format string 2011-05-23 21:50:44 +00:00
joerg f62ac60184 rf_panicbuf is already format, so don't pass it as format string to
panic()
2011-05-23 21:49:35 +00:00
joerg 4d037bbbc9 Update from GNU extension to C99 syntax for designated initializer 2011-05-23 21:34:47 +00:00
joerg 8e5ceb1134 Use __UNCONST to get rid of const 2011-05-23 21:34:01 +00:00
joerg 4f9b8d73fe Don't use the device name as format string. 2011-05-23 21:30:56 +00:00
joerg 8c8d4b56e2 Don't use string literal as format string. 2011-05-23 21:18:55 +00:00
joerg cfb300c780 Mark rumpuser_exit and rumpuser_thread_exit as dead. 2011-05-23 20:49:35 +00:00
joerg 70b0796a0d Ensure that rumpuser_thread_exit doesn't return. 2011-05-23 20:49:08 +00:00
joerg 896c6d5b09 Save space, kill some () 2011-05-23 20:43:02 +00:00
rmind 9db0d4e385 nmi_hard: convert nmi_hard_wait to use atomics.
OK mrg@
2011-05-23 18:40:30 +00:00
rmind 8b6402a800 kgdb_acc: use mutex since pm_lock was converted to it. 2011-05-23 18:38:51 +00:00
dsl 5415722580 Add explicit -lfoo for libraries that are required because of NEEDED
entries in other libraries.
This avoids a bug in 'ld' which causes it to look in the directory
specified by the RPATH entry (in the library with the NEEDED entry)
without adding the directory supplied by --sysroot.
When the RPATH entry in blindly folloed the link is done w.r.t the
systems own libfoo.so which may be missing some symbols.
(Or might have a wrong sized data area that would need copying
into the programs (or other libraries) data space.)
ld also seems to add a NEEDED entry for these libraries directly
into the program binary - this doesn't seem right to me.
Fixes my build where the installed libX11.so is dated from 2009.
CVS :----------------------------------------------------------------------
2011-05-23 17:44:41 +00:00
drochner fed8f3aa3c update draft-ipsec-* -> RFC
clarify a sentence
2011-05-23 16:00:07 +00:00
tsutsui a197c7a73f - use DPRINTF() style debug printfs
- use __func__ to print function names
- consistently use #ifdef DEBUG_FPE
- add some missing debug messages including \n in error paths
2011-05-23 15:40:34 +00:00
drochner 4bd7f95161 -remove references to crypto/arc4/arc4.* -- the code isn't used
anywhere afaics
 (The confusion comes probably from use of arc4random() at various places,
  but this lives in libkern and doesn't share code with the former.)
-g/c non-implementation of arc4 encryption in swcrypto(4)
-remove special casing of ARC4 in crypto(4) -- the point is that it
 doesn't use an IV, and this fact is made explicit by the new "ivsize"
 property of xforms
2011-05-23 15:37:35 +00:00
joerg 2f9aafde9d Use the static inline for the body as well. 2011-05-23 15:23:24 +00:00
drochner 893c8ed684 If symmetric encryption is done from userland crypto(4) and no IV
is specified, the kernel gets one from the random generator. Make sure it
is copied out to the user, otherwise the result is quite useless.
2011-05-23 15:22:57 +00:00
drochner fe35ba177e g/c remainders of IV handling in pfkey code -- this is done in
opencrypto now
2011-05-23 15:17:25 +00:00
joerg afa03266a7 Remove pointless self-assignment 2011-05-23 15:16:27 +00:00
joerg 998c5d780f Make intermediate size variable size_t like the rest to avoid
unnecessary casting.
2011-05-23 14:53:46 +00:00
joerg 04d16b5c6d Use C99-style init in _CITRUS_PROP_HINT_END to avoid warnings for
uninitialised type field.
2011-05-23 14:52:32 +00:00
tsutsui 9e59c87c59 KNF, mostly indent. No binary change. 2011-05-23 14:52:31 +00:00
joerg 939ab48f97 Actually return something deterministic 2011-05-23 14:45:44 +00:00