start-stop-daemon.c 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. /*
  2. * A rewrite of the original Debian's start-stop-daemon Perl script
  3. * in C (faster - it is executed many times during system startup).
  4. *
  5. * Written by Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl>,
  6. * public domain. Based conceptually on start-stop-daemon.pl, by Ian
  7. * Jackson <ijackson@gnu.ai.mit.edu>. May be used and distributed
  8. * freely for any purpose. Changes by Christian Schwarz
  9. * <schwarz@monet.m.isar.de>, to make output conform to the Debian
  10. * Console Message Standard, also placed in public domain. Minor
  11. * changes by Klee Dienes <klee@debian.org>, also placed in the Public
  12. * Domain.
  13. *
  14. * Changes by Ben Collins <bcollins@debian.org>, added --chuid, --background
  15. * and --make-pidfile options, placed in public domain aswell.
  16. */
  17. #include "config.h"
  18. #if defined(linux)
  19. #define OSLinux
  20. #elif defined(__GNU__)
  21. #define OSHURD
  22. #elif defined(__sparc__)
  23. #define OSsunos
  24. #else
  25. #error Unknown architecture - cannot build start-stop-daemon
  26. #endif
  27. #ifdef OSHURD
  28. #include <hurd.h>
  29. #include <ps.h>
  30. #endif
  31. #include <errno.h>
  32. #include <stdio.h>
  33. #include <stdlib.h>
  34. #include <string.h>
  35. #include <stdarg.h>
  36. #include <signal.h>
  37. #include <sys/stat.h>
  38. #include <dirent.h>
  39. #include <unistd.h>
  40. #include <getopt.h>
  41. #include <pwd.h>
  42. #include <grp.h>
  43. #include <sys/ioctl.h>
  44. #include <sys/types.h>
  45. #include <sys/termios.h>
  46. #include <fcntl.h>
  47. #ifdef HAVE_ERROR_H
  48. #include <error.h>
  49. #endif
  50. #ifdef HURD_IHASH_H
  51. #include <hurd/ihash.h>
  52. #endif
  53. static int testmode = 0;
  54. static int quietmode = 0;
  55. static int exitnodo = 1;
  56. static int start = 0;
  57. static int stop = 0;
  58. static int background = 0;
  59. static int mpidfile = 0;
  60. static int signal_nr = 15;
  61. static const char *signal_str = NULL;
  62. static int user_id = -1;
  63. static int runas_uid = -1;
  64. static int runas_gid = -1;
  65. static const char *userspec = NULL;
  66. static char *changeuser = NULL;
  67. static char *changegroup = NULL;
  68. static char *changeroot = NULL;
  69. static const char *cmdname = NULL;
  70. static char *execname = NULL;
  71. static char *startas = NULL;
  72. static const char *pidfile = NULL;
  73. static const char *progname = "";
  74. static struct stat exec_stat;
  75. #if defined(OSHURD)
  76. static struct proc_stat_list *procset;
  77. #endif
  78. struct pid_list {
  79. struct pid_list *next;
  80. int pid;
  81. };
  82. static struct pid_list *found = NULL;
  83. static struct pid_list *killed = NULL;
  84. static void *xmalloc(int size);
  85. static void push(struct pid_list **list, int pid);
  86. static void do_help(void);
  87. static void parse_options(int argc, char * const *argv);
  88. static int pid_is_user(int pid, int uid);
  89. static int pid_is_cmd(int pid, const char *name);
  90. static void check(int pid);
  91. static void do_pidfile(const char *name);
  92. static int do_stop(void);
  93. #if defined(OSLinux)
  94. static int pid_is_exec(int pid, const struct stat *esb);
  95. #endif
  96. #ifdef __GNUC__
  97. static void fatal(const char *format, ...)
  98. __attribute__((noreturn, format(printf, 1, 2)));
  99. static void badusage(const char *msg)
  100. __attribute__((noreturn));
  101. #else
  102. static void fatal(const char *format, ...);
  103. static void badusage(const char *msg);
  104. #endif
  105. static void
  106. fatal(const char *format, ...)
  107. {
  108. va_list arglist;
  109. fprintf(stderr, "%s: ", progname);
  110. va_start(arglist, format);
  111. vfprintf(stderr, format, arglist);
  112. va_end(arglist);
  113. putc('\n', stderr);
  114. exit(2);
  115. }
  116. static void *
  117. xmalloc(int size)
  118. {
  119. void *ptr;
  120. ptr = malloc(size);
  121. if (ptr)
  122. return ptr;
  123. fatal("malloc(%d) failed", size);
  124. }
  125. static void
  126. push(struct pid_list **list, int pid)
  127. {
  128. struct pid_list *p;
  129. p = xmalloc(sizeof(*p));
  130. p->next = *list;
  131. p->pid = pid;
  132. *list = p;
  133. }
  134. static void
  135. do_help(void)
  136. {
  137. printf("\
  138. start-stop-daemon for Debian GNU/Linux - small and fast C version written by\n\
  139. Marek Michalkiewicz <marekm@i17linuxb.ists.pwr.wroc.pl>, public domain.\n"
  140. VERSION "\n\
  141. \n\
  142. Usage:
  143. start-stop-daemon -S|--start options ... -- arguments ...\n\
  144. start-stop-daemon -K|--stop options ...\n\
  145. start-stop-daemon -H|--help\n\
  146. start-stop-daemon -V|--version\n\
  147. \n\
  148. Options (at least one of --exec|--pidfile|--user is required):
  149. -x|--exec <executable> program to start/check if it is running\n\
  150. -p|--pidfile <pid-file> pid file to check\n\
  151. -c|--chuid <name|uid[:group|gid]>
  152. change to this user/group before starting process\n\
  153. -u|--user <username>|<uid> stop processes owned by this user\n\
  154. -n|--name <process-name> stop processes with this name\n\
  155. -s|--signal <signal> signal to send (default TERM)\n\
  156. -a|--startas <pathname> program to start (default is <executable>)\n\
  157. -b|--background force the process to detach\n\
  158. -m|--make-pidfile create the pidfile before starting\n\
  159. -t|--test test mode, don't do anything\n\
  160. -o|--oknodo exit status 0 (not 1) if nothing done\n\
  161. -q|--quiet be more quiet\n\
  162. -v|--verbose be more verbose\n\
  163. \n\
  164. Exit status: 0 = done 1 = nothing done (=> 0 if --oknodo) 2 = trouble\n");
  165. }
  166. static void
  167. badusage(const char *msg)
  168. {
  169. if (msg)
  170. fprintf(stderr, "%s: %s\n", progname, msg);
  171. fprintf(stderr, "Try `%s --help' for more information.\n", progname);
  172. exit(2);
  173. }
  174. struct sigpair {
  175. const char *name;
  176. int signal;
  177. };
  178. const struct sigpair siglist[] = {
  179. { "ABRT", SIGABRT },
  180. { "ALRM", SIGALRM },
  181. { "FPE", SIGFPE },
  182. { "HUP", SIGHUP },
  183. { "ILL", SIGILL },
  184. { "INT", SIGINT },
  185. { "KILL", SIGKILL },
  186. { "PIPE", SIGPIPE },
  187. { "QUIT", SIGQUIT },
  188. { "SEGV", SIGSEGV },
  189. { "TERM", SIGTERM },
  190. { "USR1", SIGUSR1 },
  191. { "USR2", SIGUSR2 },
  192. { "CHLD", SIGCHLD },
  193. { "CONT", SIGCONT },
  194. { "STOP", SIGSTOP },
  195. { "TSTP", SIGTSTP },
  196. { "TTIN", SIGTTIN },
  197. { "TTOU", SIGTTOU }
  198. };
  199. static int parse_signal (const char *signal_str, int *signal_nr)
  200. {
  201. int i;
  202. for (i = 0; i < sizeof (siglist) / sizeof (siglist[0]); i++) {
  203. if (strcmp (signal_str, siglist[i].name) == 0) {
  204. *signal_nr = siglist[i].signal;
  205. return 0;
  206. }
  207. }
  208. return -1;
  209. }
  210. static void
  211. parse_options(int argc, char * const *argv)
  212. {
  213. static struct option longopts[] = {
  214. { "help", 0, NULL, 'H'},
  215. { "stop", 0, NULL, 'K'},
  216. { "start", 0, NULL, 'S'},
  217. { "version", 0, NULL, 'V'},
  218. { "startas", 1, NULL, 'a'},
  219. { "name", 1, NULL, 'n'},
  220. { "oknodo", 0, NULL, 'o'},
  221. { "pidfile", 1, NULL, 'p'},
  222. { "quiet", 0, NULL, 'q'},
  223. { "signal", 1, NULL, 's'},
  224. { "test", 0, NULL, 't'},
  225. { "user", 1, NULL, 'u'},
  226. { "chroot", 1, NULL, 'r'},
  227. { "verbose", 0, NULL, 'v'},
  228. { "exec", 1, NULL, 'x'},
  229. { "chuid", 1, NULL, 'c'},
  230. { "background", 0, NULL, 'b'},
  231. { "make-pidfile", 0, NULL, 'm'},
  232. { NULL, 0, NULL, 0}
  233. };
  234. int c;
  235. for (;;) {
  236. c = getopt_long(argc, argv, "HKSVa:n:op:qr:s:tu:vx:c:bm",
  237. longopts, (int *) 0);
  238. if (c == -1)
  239. break;
  240. switch (c) {
  241. case 'H': /* --help */
  242. do_help();
  243. exit(0);
  244. case 'K': /* --stop */
  245. stop = 1;
  246. break;
  247. case 'S': /* --start */
  248. start = 1;
  249. break;
  250. case 'V': /* --version */
  251. printf("start-stop-daemon " VERSION "\n");
  252. exit(0);
  253. case 'a': /* --startas <pathname> */
  254. startas = optarg;
  255. break;
  256. case 'n': /* --name <process-name> */
  257. cmdname = optarg;
  258. break;
  259. case 'o': /* --oknodo */
  260. exitnodo = 0;
  261. break;
  262. case 'p': /* --pidfile <pid-file> */
  263. pidfile = optarg;
  264. break;
  265. case 'q': /* --quiet */
  266. quietmode = 1;
  267. break;
  268. case 's': /* --signal <signal> */
  269. signal_str = optarg;
  270. break;
  271. case 't': /* --test */
  272. testmode = 1;
  273. break;
  274. case 'u': /* --user <username>|<uid> */
  275. userspec = optarg;
  276. break;
  277. case 'v': /* --verbose */
  278. quietmode = -1;
  279. break;
  280. case 'x': /* --exec <executable> */
  281. execname = optarg;
  282. break;
  283. case 'c': /* --chuid <username>|<uid> */
  284. /* we copy the string just in case we need the
  285. * argument later. */
  286. changeuser = strdup(optarg);
  287. changeuser = strtok(changeuser, ":");
  288. changegroup = strtok(NULL, ":");
  289. break;
  290. case 'r': /* --chroot /new/root */
  291. changeroot = optarg;
  292. break;
  293. case 'b': /* --background */
  294. background = 1;
  295. break;
  296. case 'm': /* --make-pidfile */
  297. mpidfile = 1;
  298. break;
  299. default:
  300. badusage(NULL); /* message printed by getopt */
  301. }
  302. }
  303. if (signal_str != NULL) {
  304. if (sscanf (signal_str, "%d", &signal_nr) != 1) {
  305. if (parse_signal (signal_str, &signal_nr) != 0) {
  306. badusage ("--signal takes a numeric argument or name of signal (KILL, INTR, ...)");
  307. }
  308. }
  309. }
  310. if (start == stop)
  311. badusage("need one of --start or --stop");
  312. if (!execname && !pidfile && !userspec)
  313. badusage("need at least one of --exec, --pidfile or --user");
  314. if (!startas)
  315. startas = execname;
  316. if (start && !startas)
  317. badusage("--start needs --exec or --startas");
  318. if (mpidfile && pidfile == NULL)
  319. badusage("--make-pidfile is only relevant with --pidfile");
  320. if (background && !start)
  321. badusage("--background is only relevant with --start");
  322. }
  323. #if defined(OSLinux)
  324. static int
  325. pid_is_exec(int pid, const struct stat *esb)
  326. {
  327. struct stat sb;
  328. char buf[32];
  329. sprintf(buf, "/proc/%d/exe", pid);
  330. if (stat(buf, &sb) != 0)
  331. return 0;
  332. return (sb.st_dev == esb->st_dev && sb.st_ino == esb->st_ino);
  333. }
  334. static int
  335. pid_is_user(int pid, int uid)
  336. {
  337. struct stat sb;
  338. char buf[32];
  339. sprintf(buf, "/proc/%d", pid);
  340. if (stat(buf, &sb) != 0)
  341. return 0;
  342. return (sb.st_uid == uid);
  343. }
  344. static int
  345. pid_is_cmd(int pid, const char *name)
  346. {
  347. char buf[32];
  348. FILE *f;
  349. int c;
  350. sprintf(buf, "/proc/%d/stat", pid);
  351. f = fopen(buf, "r");
  352. if (!f)
  353. return 0;
  354. while ((c = getc(f)) != EOF && c != '(')
  355. ;
  356. if (c != '(') {
  357. fclose(f);
  358. return 0;
  359. }
  360. /* this hopefully handles command names containing ')' */
  361. while ((c = getc(f)) != EOF && c == *name)
  362. name++;
  363. fclose(f);
  364. return (c == ')' && *name == '\0');
  365. }
  366. #endif /* OSLinux */
  367. #if defined(OSHURD)
  368. static int
  369. pid_is_user(int pid, int uid)
  370. {
  371. struct stat sb;
  372. char buf[32];
  373. struct proc_stat *pstat;
  374. sprintf(buf, "/proc/%d", pid);
  375. if (stat(buf, &sb) != 0)
  376. return 0;
  377. return (sb.st_uid == uid);
  378. pstat = proc_stat_list_pid_proc_stat (procset, pid);
  379. if (pstat == NULL)
  380. fatal ("Error getting process information: NULL proc_stat struct");
  381. proc_stat_set_flags (pstat, PSTAT_PID | PSTAT_OWNER_UID);
  382. return (pstat->owner_uid == uid);
  383. }
  384. static int
  385. pid_is_cmd(int pid, const char *name)
  386. {
  387. struct proc_stat *pstat;
  388. pstat = proc_stat_list_pid_proc_stat (procset, pid);
  389. if (pstat == NULL)
  390. fatal ("Error getting process information: NULL proc_stat struct");
  391. proc_stat_set_flags (pstat, PSTAT_PID | PSTAT_ARGS);
  392. return (!strcmp (name, pstat->args));
  393. }
  394. #endif /* OSHURD */
  395. static void
  396. check(int pid)
  397. {
  398. #if defined(OSLinux)
  399. if (execname && !pid_is_exec(pid, &exec_stat))
  400. #elif defined(OSHURD)
  401. /* I will try this to see if it works */
  402. if (execname && !pid_is_cmd(pid, execname))
  403. #endif
  404. return;
  405. if (userspec && !pid_is_user(pid, user_id))
  406. return;
  407. if (cmdname && !pid_is_cmd(pid, cmdname))
  408. return;
  409. push(&found, pid);
  410. }
  411. static void
  412. do_pidfile(const char *name)
  413. {
  414. FILE *f;
  415. int pid;
  416. f = fopen(name, "r");
  417. if (f) {
  418. if (fscanf(f, "%d", &pid) == 1)
  419. check(pid);
  420. fclose(f);
  421. } else if (errno != ENOENT)
  422. fatal("open pidfile %s: %s", name, strerror(errno));
  423. }
  424. /* WTA: this needs to be an autoconf check for /proc/pid existance.
  425. */
  426. #if defined(OSLinux) || defined (OSsunos)
  427. static void
  428. do_procinit(void)
  429. {
  430. DIR *procdir;
  431. struct dirent *entry;
  432. int foundany, pid;
  433. procdir = opendir("/proc");
  434. if (!procdir)
  435. fatal("opendir /proc: %s", strerror(errno));
  436. foundany = 0;
  437. while ((entry = readdir(procdir)) != NULL) {
  438. if (sscanf(entry->d_name, "%d", &pid) != 1)
  439. continue;
  440. foundany++;
  441. check(pid);
  442. }
  443. closedir(procdir);
  444. if (!foundany)
  445. fatal("nothing in /proc - not mounted?");
  446. }
  447. #endif /* OSLinux */
  448. #if defined(OSHURD)
  449. error_t
  450. check_all (void *ptr)
  451. {
  452. struct proc_stat *pstat = ptr;
  453. check (pstat->pid);
  454. return (0);
  455. }
  456. static void
  457. do_procinit(void)
  458. {
  459. struct ps_context *context;
  460. error_t err;
  461. err = ps_context_create (getproc (), &context);
  462. if (err)
  463. error (1, err, "ps_context_create");
  464. err = proc_stat_list_create (context, &procset);
  465. if (err)
  466. error (1, err, "proc_stat_list_create");
  467. err = proc_stat_list_add_all (procset, 0, 0);
  468. if (err)
  469. error (1, err, "proc_stat_list_add_all");
  470. /* Check all pids */
  471. ihash_iterate (context->procs, check_all);
  472. }
  473. #endif /* OSHURD */
  474. /* return 1 on failure */
  475. static int
  476. do_stop(void)
  477. {
  478. char what[2048];
  479. struct pid_list *p;
  480. int retval = 0;
  481. if (cmdname)
  482. snprintf(what, sizeof(what), "%s", cmdname);
  483. else if (execname)
  484. snprintf(what, sizeof(what), "%s", execname);
  485. else if (pidfile)
  486. snprintf(what, sizeof(what), "process in pidfile `%s'", pidfile);
  487. else if (userspec)
  488. snprintf(what, sizeof(what), "process(es) owned by `%s'", userspec);
  489. else
  490. fatal("internal error, please report");
  491. if (!found) {
  492. if (quietmode <= 0)
  493. printf("No %s found running; none killed.\n", what);
  494. exit(exitnodo);
  495. }
  496. for (p = found; p; p = p->next) {
  497. if (testmode)
  498. printf("Would send signal %d to %d.\n",
  499. signal_nr, p->pid);
  500. else if (kill(p->pid, signal_nr) == 0)
  501. push(&killed, p->pid);
  502. else {
  503. printf("%s: warning: failed to kill %d: %s\n",
  504. progname, p->pid, strerror(errno));
  505. retval += exitnodo;
  506. }
  507. }
  508. if (quietmode < 0 && killed) {
  509. printf("Stopped %s (pid", what);
  510. for (p = killed; p; p = p->next)
  511. printf(" %d", p->pid);
  512. printf(").\n");
  513. }
  514. return retval;
  515. }
  516. int
  517. main(int argc, char **argv)
  518. {
  519. progname = argv[0];
  520. parse_options(argc, argv);
  521. argc -= optind;
  522. argv += optind;
  523. if (execname && stat(execname, &exec_stat))
  524. fatal("stat %s: %s", execname, strerror(errno));
  525. if (userspec && sscanf(userspec, "%d", &user_id) != 1) {
  526. struct passwd *pw;
  527. pw = getpwnam(userspec);
  528. if (!pw)
  529. fatal("user `%s' not found\n", userspec);
  530. user_id = pw->pw_uid;
  531. }
  532. if (changegroup && sscanf(changegroup, "%d", &runas_gid) != 1) {
  533. struct group *gr = getgrnam(changegroup);
  534. if (!gr)
  535. fatal("group `%s' not found\n", changegroup);
  536. runas_gid = gr->gr_gid;
  537. }
  538. if (changeuser && sscanf(changeuser, "%d", &runas_uid) != 1) {
  539. struct passwd *pw = getpwnam(changeuser);
  540. if (!pw)
  541. fatal("user `%s' not found\n", changeuser);
  542. runas_uid = pw->pw_uid;
  543. if (changegroup == NULL) { /* pass the default group of this user */
  544. changegroup = ""; /* just empty */
  545. runas_gid = pw->pw_gid;
  546. }
  547. }
  548. if (pidfile)
  549. do_pidfile(pidfile);
  550. else
  551. do_procinit();
  552. if (stop) {
  553. int i = do_stop();
  554. if (i) {
  555. if (quietmode <= 0)
  556. printf("%d pids were not killed\n", i);
  557. exit(1);
  558. }
  559. exit(0);
  560. }
  561. if (found) {
  562. if (quietmode <= 0)
  563. printf("%s already running.\n", execname);
  564. exit(exitnodo);
  565. }
  566. if (testmode) {
  567. printf("Would start %s ", startas);
  568. while (argc-- > 0)
  569. printf("%s ", *argv++);
  570. if (changeuser != NULL) {
  571. printf(" (as user %s[%d]", changeuser, runas_uid);
  572. if (changegroup != NULL)
  573. printf(", and group %s[%d])", changegroup, runas_gid);
  574. else
  575. printf(")");
  576. }
  577. if (changeroot != NULL)
  578. printf(" in directory %s", changeroot);
  579. printf(".\n");
  580. exit(0);
  581. }
  582. if (quietmode < 0)
  583. printf("Starting %s...\n", startas);
  584. *--argv = startas;
  585. if (changeroot != NULL) {
  586. if (chdir(changeroot) < 0)
  587. fatal("Unable to chdir() to %s", changeroot);
  588. if (chroot(changeroot) < 0)
  589. fatal("Unable to chroot() to %s", changeroot);
  590. }
  591. if (changeuser != NULL) {
  592. if (setgid(runas_gid))
  593. fatal("Unable to set gid to %d", runas_gid);
  594. if (initgroups(changeuser, runas_gid))
  595. fatal("Unable to set initgroups() with gid %d", runas_gid);
  596. if (setuid(runas_uid))
  597. fatal("Unable to set uid to %s", changeuser);
  598. }
  599. if (background) { /* ok, we need to detach this process */
  600. int i, fd;
  601. if (quietmode < 0)
  602. printf("Detatching to start %s...", startas);
  603. i = fork();
  604. if (i<0) {
  605. fatal("Unable to fork.\n");
  606. }
  607. if (i) { /* parent */
  608. if (quietmode < 0)
  609. printf("done.\n");
  610. exit(0);
  611. }
  612. /* child continues here */
  613. /* now close all extra fds */
  614. for (i=getdtablesize()-1; i>=0; --i) close(i);
  615. /* change tty */
  616. fd = open("/dev/tty", O_RDWR);
  617. ioctl(fd, TIOCNOTTY, 0);
  618. close(fd);
  619. chdir("/");
  620. umask(022); /* set a default for dumb programs */
  621. setpgrp(); /* set the process group */
  622. fd=open("/dev/null", O_RDWR); /* stdin */
  623. dup(fd); /* stdout */
  624. dup(fd); /* stderr */
  625. }
  626. if (mpidfile && pidfile != NULL) { /* user wants _us_ to make the pidfile :) */
  627. FILE *pidf = fopen(pidfile, "w");
  628. pid_t pidt = getpid();
  629. if (pidf == NULL)
  630. fatal("Unable to open pidfile `%s' for writing: %s", pidfile,
  631. strerror(errno));
  632. fprintf(pidf, "%d\n", pidt);
  633. fclose(pidf);
  634. }
  635. execv(startas, argv);
  636. fatal("Unable to start %s: %s", startas, strerror(errno));
  637. }