freebsd-nq/sys/security
Brian Feldman b23f72e98a * Add a "how" argument to uma_zone constructors and initialization functions
so that they know whether the allocation is supposed to be able to sleep
  or not.
* Allow uma_zone constructors and initialation functions to return either
  success or error.  Almost all of the ones in the tree currently return
  success unconditionally, but mbuf is a notable exception: the packet
  zone constructor wants to be able to fail if it cannot suballocate an
  mbuf cluster, and the mbuf allocators want to be able to fail in general
  in a MAC kernel if the MAC mbuf initializer fails.  This fixes the
  panics people are seeing when they run out of memory for mbuf clusters.
* Allow debug.nosleepwithlocks on WITNESS to be disabled, without changing
  the default.

Both bmilekic and jeff have reviewed the changes made to make failable
zone allocations work.
2004-08-02 00:18:36 +00:00
..
mac * Add a "how" argument to uma_zone constructors and initialization functions 2004-08-02 00:18:36 +00:00
mac_biba Introduce SLOT_SET macro and use it in place of casts as lvalues. 2004-07-28 07:01:33 +00:00
mac_bsdextended Allow an effective uid of root to bypass mac_bsdextended rules; the MAC 2004-07-23 01:53:28 +00:00
mac_ifoff
mac_lomac Introduce SLOT_SET macro and use it in place of casts as lvalues. 2004-07-28 07:01:33 +00:00
mac_mls Introduce SLOT_SET macro and use it in place of casts as lvalues. 2004-07-28 07:01:33 +00:00
mac_none
mac_partition
mac_portacl Remove dead code. (This loop counted the number of rules, but the count 2004-05-15 20:55:19 +00:00
mac_seeotheruids
mac_stub Introduce a temporary mutex, mac_ifnet_mtx, to lock MAC labels on 2004-06-24 03:34:46 +00:00
mac_test Update for the KDB framework: 2004-07-10 21:47:53 +00:00