diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/fcntl-safer.m4 | 12 | ||||
-rw-r--r-- | m4/np_coreutils.m4 | 2 | ||||
-rw-r--r-- | m4/unistd-safer.m4 | 13 |
3 files changed, 27 insertions, 0 deletions
diff --git a/m4/fcntl-safer.m4 b/m4/fcntl-safer.m4 new file mode 100644 index 00000000..be210f9a --- /dev/null +++ b/m4/fcntl-safer.m4 | |||
@@ -0,0 +1,12 @@ | |||
1 | #serial 2 | ||
2 | dnl Copyright (C) 2005 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | AC_DEFUN([gl_FCNTL_SAFER], | ||
8 | [ | ||
9 | AC_LIBSOURCES([creat-safer.c, fcntl-safer.h, open-safer.c, fcntl--.h]) | ||
10 | AC_LIBOBJ([open-safer]) | ||
11 | AC_LIBOBJ([creat-safer]) | ||
12 | ]) | ||
diff --git a/m4/np_coreutils.m4 b/m4/np_coreutils.m4 index 23d55e44..5360bbd0 100644 --- a/m4/np_coreutils.m4 +++ b/m4/np_coreutils.m4 | |||
@@ -13,11 +13,13 @@ AC_DEFUN([np_COREUTILS], | |||
13 | AC_REQUIRE([AM_STDBOOL_H]) | 13 | AC_REQUIRE([AM_STDBOOL_H]) |
14 | AC_REQUIRE([gl_C_STRTOLD]) | 14 | AC_REQUIRE([gl_C_STRTOLD]) |
15 | AC_REQUIRE([gl_EXITFAIL]) | 15 | AC_REQUIRE([gl_EXITFAIL]) |
16 | AC_REQUIRE([gl_FCNTL_SAFER]) | ||
16 | AC_REQUIRE([gl_FSUSAGE]) | 17 | AC_REQUIRE([gl_FSUSAGE]) |
17 | AC_REQUIRE([gl_FUNC_ALLOCA]) | 18 | AC_REQUIRE([gl_FUNC_ALLOCA]) |
18 | AC_REQUIRE([gl_GETOPT]) | 19 | AC_REQUIRE([gl_GETOPT]) |
19 | AC_REQUIRE([gl_MOUNTLIST]) | 20 | AC_REQUIRE([gl_MOUNTLIST]) |
20 | AC_REQUIRE([gl_REGEX]) | 21 | AC_REQUIRE([gl_REGEX]) |
22 | AC_REQUIRE([gl_UNISTD_SAFER]) | ||
21 | AC_REQUIRE([gl_XALLOC]) | 23 | AC_REQUIRE([gl_XALLOC]) |
22 | AC_REQUIRE([gl_FUNC_GLIBC_UNLOCKED_IO]) | 24 | AC_REQUIRE([gl_FUNC_GLIBC_UNLOCKED_IO]) |
23 | 25 | ||
diff --git a/m4/unistd-safer.m4 b/m4/unistd-safer.m4 new file mode 100644 index 00000000..6fbe4c6f --- /dev/null +++ b/m4/unistd-safer.m4 | |||
@@ -0,0 +1,13 @@ | |||
1 | #serial 7 | ||
2 | dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | AC_DEFUN([gl_UNISTD_SAFER], | ||
8 | [ | ||
9 | AC_LIBSOURCES([dup-safer.c, fd-safer.c, pipe-safer.c, unistd-safer.h, unistd--.h]) | ||
10 | AC_LIBOBJ([dup-safer]) | ||
11 | AC_LIBOBJ([fd-safer]) | ||
12 | AC_LIBOBJ([pipe-safer]) | ||
13 | ]) | ||