Benign Download

sysctl.h

macOS sysctl node writable by anybodymacOS sysctl string handler
SHA-256ca0f1ebde2af969a98f2087c879c59317ad9e7796f2110a3cf740f8f51700762
MaleculeO(Er₂)

Evidence

macOS sysctl string handler lines 269–273
269int sysctl_handle_quad SYSCTL_HANDLER_ARGS;
270int sysctl_handle_int2quad SYSCTL_HANDLER_ARGS;
271int sysctl_handle_string SYSCTL_HANDLER_ARGS;
272int sysctl_handle_opaque SYSCTL_HANDLER_ARGS;
273/* new interface */
macOS sysctl node writable by anybody lines 472–474
472 __EXPERIMENT_FACTOR_SPEC(name, ptr, min, max); \
473 _Static_assert(sizeof(*(ptr)) == sizeof(unsigned int), "must be integer sized"); \
474 SYSCTL_PROC(_kern_trial, OID_AUTO, name, CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_ANYBODY | CTLFLAG_EXPERIMENT, &_experiment_##name, 1, &experiment_factor_uint_handler, "IU", descr);
Syscall instruction text marker lines 713–715
713#if COUNT_SYSCALLS && defined(KERNEL)
714#define KERN_COUNT_SYSCALLS (KERN_OSTYPE + 1000) /* keep called count for each bsd syscall */
715#endif

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.