diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-10-22 23:03:24 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-10-23 00:42:30 +0300 |
commit | 21ffba77b92f79a59c62728ede4ad7a4ecb5a0ee (patch) | |
tree | c3204285a3ba57d590d815c682f1113b6f48d834 /src/pies.h | |
parent | eb8797c9a28f3f4e238bad89b56d331492df7828 (diff) | |
download | pies-21ffba77b92f79a59c62728ede4ad7a4ecb5a0ee.tar.gz pies-21ffba77b92f79a59c62728ede4ad7a4ecb5a0ee.tar.bz2 |
Switch to the latest Grecs.
* Makefile.am (ChangeLog): Use git2chg.awk to build it.
* NEWS: Update.
* bootstrap.conf (gnulib_modules): Grecs does not depend on gnulib any more.
* configure.ac: Version 1.2.90.
Define GRECS_HOST_PROJECT_INCLUDES, remove grecs Makefiles from
AC_CONFIG_FILES: it is now done by GRECS_SETUP itself.
* gnulib.modules (gitlog-to-changelog,argp): Remove.
(configmake): New module.
* grecs: Update to a52ab6c6.
* lib/libpies.h: Remove redefinitions of _() and N_().
* src/Makefile.am: Update for the recent grecs.
* src/acl.c: Rewrite using Grecs support for lists and symtabs.
* src/acl.h: Likewise.
* src/diag.c: Likewise.
* src/inetd.c: Likewise.
* src/meta1gram.y: Likewise.
* src/meta1lex.h: Likewise.
* src/meta1lex.l: Likewise.
* src/pies.c: Likewise.
* src/pies.h: Likewise.
* src/progman.c: Likewise.
* src/userprivs.c: Likewise.
Diffstat (limited to 'src/pies.h')
-rw-r--r-- | src/pies.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* This file is part of GNU Pies. | 1 | /* This file is part of GNU Pies. |
2 | Copyright (C) 2008, 2009, 2010 Sergey Poznyakoff | 2 | Copyright (C) 2008, 2009, 2010, 2011 Sergey Poznyakoff |
3 | 3 | ||
4 | GNU Pies is free software; you can redistribute it and/or modify | 4 | GNU Pies is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
@@ -42,7 +42,7 @@ | |||
42 | #include <signal.h> | 42 | #include <signal.h> |
43 | #include <time.h> | 43 | #include <time.h> |
44 | #include <sysexits.h> | 44 | #include <sysexits.h> |
45 | #include <argp.h> | 45 | #include <ctype.h> |
46 | 46 | ||
47 | #include <grecs.h> | 47 | #include <grecs.h> |
48 | #include <wordsplit.h> | 48 | #include <wordsplit.h> |
@@ -117,7 +117,7 @@ struct pies_privs | |||
117 | { | 117 | { |
118 | char *user; | 118 | char *user; |
119 | int allgroups; | 119 | int allgroups; |
120 | gl_list_t groups; | 120 | struct grecs_list *groups; |
121 | }; | 121 | }; |
122 | 122 | ||
123 | enum pies_comp_mode | 123 | enum pies_comp_mode |
@@ -166,8 +166,8 @@ struct component | |||
166 | char **argv; /* Program command line */ | 166 | char **argv; /* Program command line */ |
167 | char **env; /* Program environment */ | 167 | char **env; /* Program environment */ |
168 | char *dir; /* Working directory */ | 168 | char *dir; /* Working directory */ |
169 | gl_list_t prereq; /* Prerequisites */ | 169 | struct grecs_list *prereq; /* Prerequisites */ |
170 | gl_list_t depend; /* Dependency targets */ | 170 | struct grecs_list *depend; /* Dependency targets */ |
171 | int flags; /* CF_ bitmask */ | 171 | int flags; /* CF_ bitmask */ |
172 | size_t max_instances; /* Maximum number of simultaneously running | 172 | size_t max_instances; /* Maximum number of simultaneously running |
173 | instances */ | 173 | instances */ |
@@ -375,7 +375,7 @@ char *sockaddr_to_astr (const struct sockaddr *sa, int salen); | |||
375 | 375 | ||
376 | 376 | ||
377 | /* userprivs.c */ | 377 | /* userprivs.c */ |
378 | int switch_to_privs (uid_t uid, gid_t gid, gl_list_t retain_groups); | 378 | int switch_to_privs (uid_t uid, gid_t gid, struct grecs_list *retain_groups); |
379 | 379 | ||
380 | void pies_priv_setup (struct pies_privs *); | 380 | void pies_priv_setup (struct pies_privs *); |
381 | void pies_epriv_setup (struct pies_privs *); | 381 | void pies_epriv_setup (struct pies_privs *); |