diff options
author | bp <bp@FreeBSD.org> | 2001-01-29 12:48:37 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 2001-01-29 12:48:37 +0000 |
commit | e88e663eb2e5baec6cc42b7e50c7598cb0576a17 (patch) | |
tree | c5133bfb6bc1da555674c78ec8eceb8b4ecb1f39 /sys/kern/kern_sysctl.c | |
parent | 8eddfd2f15c1a1023a50f6b1aecbf02bfbdc652e (diff) | |
download | FreeBSD-src-e88e663eb2e5baec6cc42b7e50c7598cb0576a17.zip FreeBSD-src-e88e663eb2e5baec6cc42b7e50c7598cb0576a17.tar.gz |
Add M_PANIC flag to the list of available flags passed to malloc().
With this flag set malloc() will panic if memory allocation failed.
This usable only in critical places where failed allocation is fatal.
Reviewed by: peter
Diffstat (limited to 'sys/kern/kern_sysctl.c')
0 files changed, 0 insertions, 0 deletions