Commit Graph

150405 Commits

Author SHA1 Message Date
elad 994bc68e9f Short-circuit calls to kauth_authorize_action() for a scope withtout any
listeners to always return "allow".

The idea is that it's not entirely unlikely that some vendors, or users,
will decide to load the security model as an LKM, and that can only
happen after at least mounting local file-systems. If we would not have
this fast-path, all authorization requests would be denied.

okay christos@
2006-09-02 20:10:24 +00:00
christos 10ed3a58a9 factor out the code that does numeric parsing into a function and check for
errors properly.
2006-09-02 20:00:09 +00:00
christos 3cd45450e8 redo with c99 initializers 2006-09-02 18:59:46 +00:00
christos bd4bd1bf9d - comment out impossible comparison
- add missing initializer
2006-09-02 18:58:02 +00:00
matt c8b1a4622f Add/rename macros (PVO_xxx_P) for testing WIRED, MANAGED, EXECUTABLE ness
of a PVO entry.  (Fixes where PVO_WIRED was tested against pvo_pt.pte_lo
instead of pvo_vaddr)
2006-09-02 17:08:44 +00:00
christos 5ec7f32544 add missing initializers 2006-09-02 17:02:57 +00:00
uwe 85f8b5b279 Mention landisk as supported. 2006-09-02 16:18:02 +00:00
itohy e442e57e36 Add description on "discard" character.
Sort control characters by the Vxxx numbers in termios.h.
2006-09-02 15:10:22 +00:00
kardel 9cf34bf81f move MAX_TCNAMELEN from kern_tc.c into timetc.h 2006-09-02 13:47:03 +00:00
kardel e23bdf3c6e move MAX_TCNAMELEN into timetc.h, use constant in tmp buffer allocation 2006-09-02 13:45:04 +00:00
yamt 8b789e8490 nfs_fhtovp: try to detect stale or invalid handles by issuing VOP_GETATTR. 2006-09-02 13:37:52 +00:00
yamt b45e7d3197 nfsdreq_free: remove an assertion which is not true. 2006-09-02 13:30:08 +00:00
liamjfoy 3c3d7131af increment ips_total too.
ok matt thomas
2006-09-02 12:41:01 +00:00
yamt 3311de9ddc implement vptofh and fhtovp for nfs. 2006-09-02 12:40:58 +00:00
yamt d7d8adb6ea nfsd: deal with variable-sized filehandles. 2006-09-02 12:40:36 +00:00
yamt d70ea60617 #ifdef out nqsrv_getlease and friends unless defined(NFSSERVER). 2006-09-02 12:39:59 +00:00
yamt 932de434ea deal with variable-sized filehandles. 2006-09-02 11:10:24 +00:00
xtraeme 1d143cb5ae - Remove k8pnow_read_pending_wait() and use a macro that _always_
will wait for the bit pending wait to be cleared. When this bit is
  cleared the CPU is ready to enter to new processor state. [1]
- Remove useless comments.
- Sync boot messages with est.c

[1] Macro taken from FreeBSD.

And new changes tested by elad.
2006-09-02 11:00:52 +00:00
xtraeme 05670fe773 Remove unused variable to make this build again. 2006-09-02 09:26:47 +00:00
christos 88112b2ad5 add missing initializers 2006-09-02 07:30:30 +00:00
christos 57eb3ffe77 fix default type decls
fix incomplete initializer
2006-09-02 07:26:47 +00:00
christos b6994507c5 add missing initializer 2006-09-02 07:23:53 +00:00
christos 7ca3c62d31 - fix initializers
- add const
- remove dead code
2006-09-02 07:22:44 +00:00
christos 25097e66ef Add missing initializers 2006-09-02 07:16:41 +00:00
christos 66f851cf96 add missing initializers 2006-09-02 07:12:11 +00:00
christos faec8658c7 - fix incomplete initializer
- static goes first
2006-09-02 07:10:51 +00:00
christos 0668b0a2e0 static goes first 2006-09-02 07:08:39 +00:00
christos 7d1781d944 - fix incomplete initializer
- static goes first
2006-09-02 07:07:33 +00:00
christos b5da945622 comment out unreachable code 2006-09-02 07:06:03 +00:00
christos a91b63349c add missing initializer 2006-09-02 07:04:46 +00:00
christos 7465b73617 add missing initializers 2006-09-02 07:04:01 +00:00
christos a569a4d291 add missing initializer 2006-09-02 07:01:20 +00:00
christos 9f681d6f65 comment out impossible code 2006-09-02 07:00:23 +00:00
christos 489fe1e988 add missing initializers 2006-09-02 06:56:30 +00:00
christos b819e0b190 Add missing initializer 2006-09-02 06:54:18 +00:00
christos de02317b32 comment out impossible code 2006-09-02 06:53:17 +00:00
christos c4501e2800 fix incomplete initializer 2006-09-02 06:52:13 +00:00
christos d74781a938 - add missing initializers
- comment out impossible code
2006-09-02 06:48:00 +00:00
christos 0dc26f6dcb remove impossible test 2006-09-02 06:46:04 +00:00
christos ec219b9b61 use c99 initializers 2006-09-02 06:44:59 +00:00
christos f7619e4f98 add missing initializers 2006-09-02 06:41:16 +00:00
christos 10f27c9c57 remove impossible comparison 2006-09-02 06:39:27 +00:00
christos 3c95928caf add missing initializers. 2006-09-02 06:37:41 +00:00
christos 8d6177c953 add missing initializer 2006-09-02 06:35:49 +00:00
christos bdd0dbdf82 add missing initializers 2006-09-02 06:35:12 +00:00
christos 72c936995b delete unreachable code 2006-09-02 06:33:11 +00:00
christos 9802793325 deal with empty if bodies 2006-09-02 06:32:09 +00:00
christos 2e1a2f9d5e comment out impossible comparison 2006-09-02 06:30:53 +00:00
christos 4e2f7e29cf - fix initializer
- comment out unused code
2006-09-02 06:29:13 +00:00
christos e04bc58b1a Add missing initializer 2006-09-02 06:26:13 +00:00