Skip to content
Snippets Groups Projects
Select Git revision
  • wip/smcv/library-cmp
  • master default
  • wip/smcv/longer-fallback-search
  • wip/smcv/config-fallback-search
  • revert-65a6e3e1
  • v0.20240916.0
  • v0.20240806.0
  • v0.20240520.0
  • v0.20230928.0
  • v0.20230802.0
  • v0.20221006.0
  • v0.20220623.0
  • v0.20211026.0
  • v0.20210906.0
  • v0.20210728.0
  • v0.20210114.0
  • v0.20210104.0
  • v0.20201120.0
  • v0.20201022.0
  • v0.20200921.0
  • v0.20200908.0
  • v0.20200708.0
  • v0.20200624.0
  • v0.20190926.0
  • v0.20190724.0
25 results

capsule-private.h

Blame
    • Vivek Das Mohapatra's avatar
      af3fd26f
      malloc/free: reorganise wrapper code in advance of realloc changes · af3fd26f
      Vivek Das Mohapatra authored
      glibc voodoo moved to its own header to make it easy to drop once
      we don't need it any more
      
      malloc/free cluster of functions moved into their own sub-struct
      pointer so they don't perturb the main capsule namespace struct
      layout if/when they change (as we expect them to).
      
      abstract out the arcane memory checks so that the new realloc
      wrapper can share them with the free wrapper
      af3fd26f
      History
      malloc/free: reorganise wrapper code in advance of realloc changes
      Vivek Das Mohapatra authored
      glibc voodoo moved to its own header to make it easy to drop once
      we don't need it any more
      
      malloc/free cluster of functions moved into their own sub-struct
      pointer so they don't perturb the main capsule namespace struct
      layout if/when they change (as we expect them to).
      
      abstract out the arcane memory checks so that the new realloc
      wrapper can share them with the free wrapper
    sysctl.c 74.14 KiB
    /*
     * sysctl.c: General linux system control interface
     *
     * Begun 24 March 1995, Stephen Tweedie
     * Added /proc support, Dec 1995
     * Added bdflush entry and intvec min/max checking, 2/23/96, Tom Dyas.
     * Added hooks for /proc/sys/net (minor, minor patch), 96/4/1, Mike Shaver.
     * Added kernel/java-{interpreter,appletviewer}, 96/5/10, Mike Shaver.
     * Dynamic registration fixes, Stephen Tweedie.
     * Added kswapd-interval, ctrl-alt-del, printk stuff, 1/8/97, Chris Horn.
     * Made sysctl support optional via CONFIG_SYSCTL, 1/10/97, Chris
     *  Horn.
     * Added proc_doulongvec_ms_jiffies_minmax, 09/08/99, Carlos H. Bauer.
     * Added proc_doulongvec_minmax, 09/08/99, Carlos H. Bauer.
     * Changed linked lists to use list.h instead of lists.h, 02/24/00, Bill
     *  Wendling.
     * The list_for_each() macro wasn't appropriate for the sysctl loop.
     *  Removed it and replaced it with older style, 03/23/00, Bill Wendling
     */
    
    #include <linux/module.h>
    #include <linux/aio.h>
    #include <linux/mm.h>
    #include <linux/swap.h>
    #include <linux/slab.h>
    #include <linux/sysctl.h>
    #include <linux/bitmap.h>
    #include <linux/signal.h>
    #include <linux/printk.h>
    #include <linux/proc_fs.h>
    #include <linux/security.h>
    #include <linux/ctype.h>
    #include <linux/kmemleak.h>
    #include <linux/fs.h>
    #include <linux/init.h>
    #include <linux/kernel.h>
    #include <linux/kobject.h>
    #include <linux/net.h>
    #include <linux/sysrq.h>
    #include <linux/highuid.h>
    #include <linux/writeback.h>
    #include <linux/ratelimit.h>
    #include <linux/compaction.h>
    #include <linux/hugetlb.h>
    #include <linux/initrd.h>
    #include <linux/key.h>
    #include <linux/times.h>
    #include <linux/limits.h>
    #include <linux/dcache.h>
    #include <linux/dnotify.h>
    #include <linux/syscalls.h>
    #include <linux/vmstat.h>
    #include <linux/nfs_fs.h>
    #include <linux/acpi.h>
    #include <linux/reboot.h>
    #include <linux/ftrace.h>
    #include <linux/perf_event.h>
    #include <linux/kprobes.h>
    #include <linux/pipe_fs_i.h>
    #include <linux/oom.h>
    #include <linux/kmod.h>
    #include <linux/capability.h>
    #include <linux/binfmts.h>
    #include <linux/sched/sysctl.h>
    #include <linux/sched/coredump.h>
    #include <linux/kexec.h>
    #include <linux/bpf.h>
    #include <linux/mount.h>
    #include <linux/pipe_fs_i.h>