diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-01-26 20:06:48 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-01-26 20:06:48 +0000 |
commit | fa753f920b64a3f2c50295356e577a7c980c8408 (patch) | |
tree | 77236e83cc0583411a75b752a6152d445eb680e0 /internal.h | |
parent | 67c5194a104e193ec26bad4013c2a9aa9d73312f (diff) | |
download | busybox-w32-fa753f920b64a3f2c50295356e577a7c980c8408.tar.gz busybox-w32-fa753f920b64a3f2c50295356e577a7c980c8408.tar.bz2 busybox-w32-fa753f920b64a3f2c50295356e577a7c980c8408.zip |
mount and umount could leak loop device allocations causing the system to
quickly run out. Also disable init's SIGHUP handler during shutdown.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@341 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 500a63e62..9611c1922 100644 --- a/internal.h +++ b/internal.h | |||
@@ -175,6 +175,10 @@ extern int check_wildcard_match(const char* text, const char* pattern); | |||
175 | extern long getNum (const char *cp); | 175 | extern long getNum (const char *cp); |
176 | extern pid_t findInitPid(); | 176 | extern pid_t findInitPid(); |
177 | 177 | ||
178 | #if defined BB_FEATURE_MOUNT_LOOP | ||
179 | extern int del_loop(const char *device); | ||
180 | #endif | ||
181 | |||
178 | #if defined BB_GUNZIP || defined BB_GZIP || defined BB_PRINTF || defined BB_TAIL | 182 | #if defined BB_GUNZIP || defined BB_GZIP || defined BB_PRINTF || defined BB_TAIL |
179 | extern void *xmalloc (size_t size); | 183 | extern void *xmalloc (size_t size); |
180 | extern void error(char *msg); | 184 | extern void error(char *msg); |