Bernhard Reutner-Fischer | e15d757 | 2006-06-02 20:56:16 +0000 | [diff] [blame] | 1 | /* vi: set sw=4 ts=4: */ |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 2 | /* |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 3 | * tiny fuser implementation |
| 4 | * |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 5 | * Copyright 2004 Tony J. White |
| 6 | * |
Denys Vlasenko | 0ef64bd | 2010-08-16 20:14:46 +0200 | [diff] [blame] | 7 | * Licensed under GPLv2, see file LICENSE in this source tree. |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 8 | */ |
Denys Vlasenko | f8f81ed | 2016-11-23 06:23:44 +0100 | [diff] [blame] | 9 | //config:config FUSER |
Denys Vlasenko | 4eed2c6 | 2017-07-18 22:01:24 +0200 | [diff] [blame] | 10 | //config: bool "fuser (7 kb)" |
Denys Vlasenko | f8f81ed | 2016-11-23 06:23:44 +0100 | [diff] [blame] | 11 | //config: default y |
| 12 | //config: help |
Denys Vlasenko | 72089cf | 2017-07-21 09:50:55 +0200 | [diff] [blame] | 13 | //config: fuser lists all PIDs (Process IDs) that currently have a given |
| 14 | //config: file open. fuser can also list all PIDs that have a given network |
| 15 | //config: (TCP or UDP) port open. |
Denys Vlasenko | f8f81ed | 2016-11-23 06:23:44 +0100 | [diff] [blame] | 16 | |
| 17 | //applet:IF_FUSER(APPLET(fuser, BB_DIR_USR_BIN, BB_SUID_DROP)) |
| 18 | |
| 19 | //kbuild:lib-$(CONFIG_FUSER) += fuser.o |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 20 | |
Pere Orga | 5bc8c00 | 2011-04-11 03:29:49 +0200 | [diff] [blame] | 21 | //usage:#define fuser_trivial_usage |
Denys Vlasenko | 84d5edd | 2020-12-13 22:34:05 +0100 | [diff] [blame^] | 22 | //usage: "[-msk46] [-SIGNAL] FILE or PORT/PROTO" |
Pere Orga | 5bc8c00 | 2011-04-11 03:29:49 +0200 | [diff] [blame] | 23 | //usage:#define fuser_full_usage "\n\n" |
| 24 | //usage: "Find processes which use FILEs or PORTs\n" |
Pere Orga | 5bc8c00 | 2011-04-11 03:29:49 +0200 | [diff] [blame] | 25 | //usage: "\n -m Find processes which use same fs as FILEs" |
| 26 | //usage: "\n -4,-6 Search only IPv4/IPv6 space" |
| 27 | //usage: "\n -s Don't display PIDs" |
| 28 | //usage: "\n -k Kill found processes" |
| 29 | //usage: "\n -SIGNAL Signal to send (default: KILL)" |
| 30 | |
Denis Vlasenko | b6adbf1 | 2007-05-26 19:00:18 +0000 | [diff] [blame] | 31 | #include "libbb.h" |
Denys Vlasenko | e6a2f4c | 2016-04-21 16:26:30 +0200 | [diff] [blame] | 32 | #include "common_bufsiz.h" |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 33 | |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 34 | #define MAX_LINE 255 |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 35 | |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 36 | #define OPTION_STRING "mks64" |
| 37 | enum { |
| 38 | OPT_MOUNT = (1 << 0), |
| 39 | OPT_KILL = (1 << 1), |
| 40 | OPT_SILENT = (1 << 2), |
| 41 | OPT_IP6 = (1 << 3), |
| 42 | OPT_IP4 = (1 << 4), |
| 43 | }; |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 44 | |
| 45 | typedef struct inode_list { |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 46 | struct inode_list *next; |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 47 | ino_t inode; |
| 48 | dev_t dev; |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 49 | } inode_list; |
| 50 | |
Maksym Kryzhanovskyy | fef9ee7 | 2010-05-22 20:41:08 +0200 | [diff] [blame] | 51 | struct globals { |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 52 | int recursion_depth; |
| 53 | pid_t mypid; |
Maksym Kryzhanovskyy | fef9ee7 | 2010-05-22 20:41:08 +0200 | [diff] [blame] | 54 | inode_list *inode_list_head; |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 55 | smallint kill_failed; |
| 56 | int killsig; |
Denys Vlasenko | e8d0a14 | 2011-01-16 11:21:15 +0100 | [diff] [blame] | 57 | } FIX_ALIASING; |
Denys Vlasenko | e6a2f4c | 2016-04-21 16:26:30 +0200 | [diff] [blame] | 58 | #define G (*(struct globals*)bb_common_bufsiz1) |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 59 | #define INIT_G() do { \ |
Denys Vlasenko | 47cfbf3 | 2016-04-21 18:18:48 +0200 | [diff] [blame] | 60 | setup_common_bufsiz(); \ |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 61 | G.mypid = getpid(); \ |
| 62 | G.killsig = SIGKILL; \ |
| 63 | } while (0) |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 64 | |
Maksym Kryzhanovskyy | fef9ee7 | 2010-05-22 20:41:08 +0200 | [diff] [blame] | 65 | static void add_inode(const struct stat *st) |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 66 | { |
Maksym Kryzhanovskyy | fef9ee7 | 2010-05-22 20:41:08 +0200 | [diff] [blame] | 67 | inode_list **curr = &G.inode_list_head; |
| 68 | |
| 69 | while (*curr) { |
| 70 | if ((*curr)->dev == st->st_dev |
| 71 | && (*curr)->inode == st->st_ino |
| 72 | ) { |
| 73 | return; |
| 74 | } |
| 75 | curr = &(*curr)->next; |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 76 | } |
Maksym Kryzhanovskyy | fef9ee7 | 2010-05-22 20:41:08 +0200 | [diff] [blame] | 77 | |
| 78 | *curr = xzalloc(sizeof(inode_list)); |
| 79 | (*curr)->dev = st->st_dev; |
| 80 | (*curr)->inode = st->st_ino; |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 81 | } |
| 82 | |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 83 | static smallint search_dev_inode(const struct stat *st) |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 84 | { |
Maksym Kryzhanovskyy | fef9ee7 | 2010-05-22 20:41:08 +0200 | [diff] [blame] | 85 | inode_list *ilist = G.inode_list_head; |
| 86 | |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 87 | while (ilist) { |
Maksym Kryzhanovskyy | fef9ee7 | 2010-05-22 20:41:08 +0200 | [diff] [blame] | 88 | if (ilist->dev == st->st_dev) { |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 89 | if (option_mask32 & OPT_MOUNT) |
| 90 | return 1; |
Maksym Kryzhanovskyy | fef9ee7 | 2010-05-22 20:41:08 +0200 | [diff] [blame] | 91 | if (ilist->inode == st->st_ino) |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 92 | return 1; |
| 93 | } |
| 94 | ilist = ilist->next; |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 95 | } |
| 96 | return 0; |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 97 | } |
| 98 | |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 99 | enum { |
| 100 | PROC_NET = 0, |
| 101 | PROC_DIR, |
| 102 | PROC_DIR_LINKS, |
| 103 | PROC_SUBDIR_LINKS, |
| 104 | }; |
| 105 | |
| 106 | static smallint scan_proc_net_or_maps(const char *path, unsigned port) |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 107 | { |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 108 | FILE *f; |
| 109 | char line[MAX_LINE + 1], addr[68]; |
| 110 | int major, minor, r; |
Eric Andersen | a68ea1c | 2006-01-30 22:48:39 +0000 | [diff] [blame] | 111 | long long uint64_inode; |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 112 | unsigned tmp_port; |
| 113 | smallint retval; |
| 114 | struct stat statbuf; |
| 115 | const char *fmt; |
| 116 | void *fag, *sag; |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 117 | |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 118 | f = fopen_for_read(path); |
| 119 | if (!f) |
| 120 | return 0; |
Maksym Kryzhanovskyy | fef9ee7 | 2010-05-22 20:41:08 +0200 | [diff] [blame] | 121 | |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 122 | if (G.recursion_depth == PROC_NET) { |
| 123 | int fd; |
| 124 | |
| 125 | /* find socket dev */ |
| 126 | statbuf.st_dev = 0; |
| 127 | fd = socket(AF_INET, SOCK_DGRAM, 0); |
| 128 | if (fd >= 0) { |
| 129 | fstat(fd, &statbuf); |
| 130 | close(fd); |
| 131 | } |
| 132 | |
| 133 | fmt = "%*d: %64[0-9A-Fa-f]:%x %*x:%*x %*x " |
| 134 | "%*x:%*x %*x:%*x %*x %*d %*d %llu"; |
| 135 | fag = addr; |
| 136 | sag = &tmp_port; |
| 137 | } else { |
| 138 | fmt = "%*s %*s %*s %x:%x %llu"; |
| 139 | fag = &major; |
| 140 | sag = &minor; |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 141 | } |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 142 | |
| 143 | retval = 0; |
| 144 | while (fgets(line, MAX_LINE, f)) { |
| 145 | r = sscanf(line, fmt, fag, sag, &uint64_inode); |
| 146 | if (r != 3) |
| 147 | continue; |
| 148 | |
| 149 | statbuf.st_ino = uint64_inode; |
| 150 | if (G.recursion_depth == PROC_NET) { |
| 151 | r = strlen(addr); |
| 152 | if (r == 8 && (option_mask32 & OPT_IP6)) |
| 153 | continue; |
| 154 | if (r > 8 && (option_mask32 & OPT_IP4)) |
| 155 | continue; |
| 156 | if (tmp_port == port) |
| 157 | add_inode(&statbuf); |
| 158 | } else { |
| 159 | if (major != 0 && minor != 0 && statbuf.st_ino != 0) { |
| 160 | statbuf.st_dev = makedev(major, minor); |
| 161 | retval = search_dev_inode(&statbuf); |
| 162 | if (retval) |
| 163 | break; |
| 164 | } |
| 165 | } |
| 166 | } |
| 167 | fclose(f); |
| 168 | |
| 169 | return retval; |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 170 | } |
| 171 | |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 172 | static smallint scan_recursive(const char *path) |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 173 | { |
| 174 | DIR *d; |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 175 | struct dirent *d_ent; |
| 176 | smallint stop_scan; |
| 177 | smallint retval; |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 178 | |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 179 | d = opendir(path); |
| 180 | if (d == NULL) |
| 181 | return 0; |
Maksym Kryzhanovskyy | fef9ee7 | 2010-05-22 20:41:08 +0200 | [diff] [blame] | 182 | |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 183 | G.recursion_depth++; |
| 184 | retval = 0; |
| 185 | stop_scan = 0; |
| 186 | while (!stop_scan && (d_ent = readdir(d)) != NULL) { |
| 187 | struct stat statbuf; |
| 188 | pid_t pid; |
| 189 | char *subpath; |
| 190 | |
| 191 | subpath = concat_subpath_file(path, d_ent->d_name); |
| 192 | if (subpath == NULL) |
| 193 | continue; /* . or .. */ |
| 194 | |
| 195 | switch (G.recursion_depth) { |
| 196 | case PROC_DIR: |
| 197 | pid = (pid_t)bb_strtou(d_ent->d_name, NULL, 10); |
| 198 | if (errno != 0 |
| 199 | || pid == G.mypid |
| 200 | /* "this PID doesn't use specified FILEs or PORT/PROTO": */ |
| 201 | || scan_recursive(subpath) == 0 |
| 202 | ) { |
| 203 | break; |
| 204 | } |
| 205 | if (option_mask32 & OPT_KILL) { |
| 206 | if (kill(pid, G.killsig) != 0) { |
| 207 | bb_perror_msg("kill pid %s", d_ent->d_name); |
| 208 | G.kill_failed = 1; |
| 209 | } |
| 210 | } |
| 211 | if (!(option_mask32 & OPT_SILENT)) |
| 212 | printf("%s ", d_ent->d_name); |
| 213 | retval = 1; |
| 214 | break; |
| 215 | |
| 216 | case PROC_DIR_LINKS: |
| 217 | switch ( |
| 218 | index_in_substrings( |
| 219 | "cwd" "\0" "exe" "\0" |
| 220 | "root" "\0" "fd" "\0" |
| 221 | "lib" "\0" "mmap" "\0" |
| 222 | "maps" "\0", |
| 223 | d_ent->d_name |
| 224 | ) |
| 225 | ) { |
| 226 | enum { |
| 227 | CWD_LINK, |
| 228 | EXE_LINK, |
| 229 | ROOT_LINK, |
| 230 | FD_DIR_LINKS, |
| 231 | LIB_DIR_LINKS, |
| 232 | MMAP_DIR_LINKS, |
| 233 | MAPS, |
| 234 | }; |
| 235 | case CWD_LINK: |
| 236 | case EXE_LINK: |
| 237 | case ROOT_LINK: |
| 238 | goto scan_link; |
| 239 | case FD_DIR_LINKS: |
| 240 | case LIB_DIR_LINKS: |
| 241 | case MMAP_DIR_LINKS: |
| 242 | stop_scan = scan_recursive(subpath); |
| 243 | if (stop_scan) |
| 244 | retval = stop_scan; |
| 245 | break; |
| 246 | case MAPS: |
| 247 | stop_scan = scan_proc_net_or_maps(subpath, 0); |
| 248 | if (stop_scan) |
| 249 | retval = stop_scan; |
| 250 | default: |
| 251 | break; |
| 252 | } |
| 253 | break; |
| 254 | case PROC_SUBDIR_LINKS: |
| 255 | scan_link: |
| 256 | if (stat(subpath, &statbuf) < 0) |
| 257 | break; |
| 258 | stop_scan = search_dev_inode(&statbuf); |
| 259 | if (stop_scan) |
| 260 | retval = stop_scan; |
| 261 | default: |
| 262 | break; |
| 263 | } |
| 264 | free(subpath); |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 265 | } |
Denis Vlasenko | 50f7f44 | 2007-04-11 23:20:53 +0000 | [diff] [blame] | 266 | closedir(d); |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 267 | G.recursion_depth--; |
| 268 | return retval; |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 269 | } |
| 270 | |
Denis Vlasenko | 9b49a5e | 2007-10-11 10:05:36 +0000 | [diff] [blame] | 271 | int fuser_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
Denis Vlasenko | a60f84e | 2008-07-05 09:18:54 +0000 | [diff] [blame] | 272 | int fuser_main(int argc UNUSED_PARAM, char **argv) |
Rob Landley | 31642d7 | 2006-03-14 21:45:38 +0000 | [diff] [blame] | 273 | { |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 274 | char **pp; |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 275 | |
| 276 | INIT_G(); |
| 277 | |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 278 | /* Handle -SIGNAL. Oh my... */ |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 279 | pp = argv; |
| 280 | while (*++pp) { |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 281 | int sig; |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 282 | char *arg = *pp; |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 283 | |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 284 | if (arg[0] != '-') |
| 285 | continue; |
| 286 | if (arg[1] == '-' && arg[2] == '\0') /* "--" */ |
| 287 | break; |
| 288 | if ((arg[1] == '4' || arg[1] == '6') && arg[2] == '\0') |
| 289 | continue; /* it's "-4" or "-6" */ |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 290 | sig = get_signum(&arg[1]); |
| 291 | if (sig < 0) |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 292 | continue; |
| 293 | /* "-SIGNAL" option found. Remove it and bail out */ |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 294 | G.killsig = sig; |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 295 | do { |
| 296 | pp[0] = arg = pp[1]; |
| 297 | pp++; |
| 298 | } while (arg); |
| 299 | break; |
| 300 | } |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 301 | |
Denys Vlasenko | 22542ec | 2017-08-08 21:55:02 +0200 | [diff] [blame] | 302 | getopt32(argv, "^" OPTION_STRING "\0" "-1"/*at least one arg*/); |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 303 | argv += optind; |
Mike Frysinger | 70cbb6e | 2006-04-21 22:04:05 +0000 | [diff] [blame] | 304 | |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 305 | pp = argv; |
| 306 | while (*pp) { |
Maksym Kryzhanovskyy | e3657dc | 2010-06-06 22:56:12 +0200 | [diff] [blame] | 307 | /* parse net arg */ |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 308 | unsigned port; |
| 309 | char path[sizeof("/proc/net/TCP6")]; |
| 310 | |
| 311 | strcpy(path, "/proc/net/"); |
| 312 | if (sscanf(*pp, "%u/%4s", &port, path + sizeof("/proc/net/")-1) == 2 |
Denys Vlasenko | 217a7f4 | 2011-05-29 02:03:38 +0200 | [diff] [blame] | 313 | && access(path, R_OK) == 0 |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 314 | ) { |
| 315 | /* PORT/PROTO */ |
| 316 | scan_proc_net_or_maps(path, port); |
| 317 | } else { |
| 318 | /* FILE */ |
| 319 | struct stat statbuf; |
| 320 | xstat(*pp, &statbuf); |
| 321 | add_inode(&statbuf); |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 322 | } |
Denis Vlasenko | afc4113 | 2008-03-17 08:44:58 +0000 | [diff] [blame] | 323 | pp++; |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 324 | } |
Denis Vlasenko | 50f7f44 | 2007-04-11 23:20:53 +0000 | [diff] [blame] | 325 | |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 326 | if (scan_recursive("/proc")) { |
| 327 | if (!(option_mask32 & OPT_SILENT)) |
| 328 | bb_putchar('\n'); |
| 329 | return G.kill_failed; |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 330 | } |
Maksym Kryzhanovskyy | fef9ee7 | 2010-05-22 20:41:08 +0200 | [diff] [blame] | 331 | |
Maksym Kryzhanovskyy | eeed230 | 2011-05-23 03:39:48 +0200 | [diff] [blame] | 332 | return EXIT_FAILURE; |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 333 | } |