diff options
author | Erik Andersen | 2000-01-26 20:06:48 +0000 |
---|---|---|
committer | Erik Andersen | 2000-01-26 20:06:48 +0000 |
commit | 5cbdd712f5320ffc109053a94b7cf36c82292cf6 (patch) | |
tree | 77236e83cc0583411a75b752a6152d445eb680e0 /internal.h | |
parent | 3fe39dce5d1a0b0946878c66bbd7f694c5aa38ea (diff) | |
download | busybox-5cbdd712f5320ffc109053a94b7cf36c82292cf6.zip busybox-5cbdd712f5320ffc109053a94b7cf36c82292cf6.tar.gz |
mount and umount could leak loop device allocations causing the system to
quickly run out. Also disable init's SIGHUP handler during shutdown.
-Erik
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -175,6 +175,10 @@ extern int check_wildcard_match(const char* text, const char* pattern); extern long getNum (const char *cp); extern pid_t findInitPid(); +#if defined BB_FEATURE_MOUNT_LOOP +extern int del_loop(const char *device); +#endif + #if defined BB_GUNZIP || defined BB_GZIP || defined BB_PRINTF || defined BB_TAIL extern void *xmalloc (size_t size); extern void error(char *msg); |