kern_exec.c (65dcb5bcb1993631f47d8acc207904411e135758) kern_exec.c (e6b95927f39018d10fcfc39f8236525c72b84d06)
1/*-
2 * Copyright (c) 1993, David Greenman
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 91 unchanged lines hidden (view full) ---

100
101MALLOC_DEFINE(M_PARGS, "proc-args", "Process arguments");
102
103int coredump_pack_fileinfo = 1;
104SYSCTL_INT(_kern, OID_AUTO, coredump_pack_fileinfo, CTLFLAG_RWTUN,
105 &coredump_pack_fileinfo, 0,
106 "Enable file path packing in 'procstat -f' coredump notes");
107
1/*-
2 * Copyright (c) 1993, David Greenman
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 91 unchanged lines hidden (view full) ---

100
101MALLOC_DEFINE(M_PARGS, "proc-args", "Process arguments");
102
103int coredump_pack_fileinfo = 1;
104SYSCTL_INT(_kern, OID_AUTO, coredump_pack_fileinfo, CTLFLAG_RWTUN,
105 &coredump_pack_fileinfo, 0,
106 "Enable file path packing in 'procstat -f' coredump notes");
107
108int coredump_pack_vmmapinfo = 1;
109SYSCTL_INT(_kern, OID_AUTO, coredump_pack_vmmapinfo, CTLFLAG_RWTUN,
110 &coredump_pack_vmmapinfo, 0,
111 "Enable file path packing in 'procstat -v' coredump notes");
112
108static int sysctl_kern_ps_strings(SYSCTL_HANDLER_ARGS);
109static int sysctl_kern_usrstack(SYSCTL_HANDLER_ARGS);
110static int sysctl_kern_stackprot(SYSCTL_HANDLER_ARGS);
111static int do_execve(struct thread *td, struct image_args *args,
112 struct mac *mac_p);
113
114/* XXX This should be vm_size_t. */
115SYSCTL_PROC(_kern, KERN_PS_STRINGS, ps_strings, CTLTYPE_ULONG|CTLFLAG_RD,

--- 1485 unchanged lines hidden ---
113static int sysctl_kern_ps_strings(SYSCTL_HANDLER_ARGS);
114static int sysctl_kern_usrstack(SYSCTL_HANDLER_ARGS);
115static int sysctl_kern_stackprot(SYSCTL_HANDLER_ARGS);
116static int do_execve(struct thread *td, struct image_args *args,
117 struct mac *mac_p);
118
119/* XXX This should be vm_size_t. */
120SYSCTL_PROC(_kern, KERN_PS_STRINGS, ps_strings, CTLTYPE_ULONG|CTLFLAG_RD,

--- 1485 unchanged lines hidden ---