diff options
Diffstat (limited to 'src/tools')
-rwxr-xr-x | src/tools/check-caps.sh | 3 | ||||
-rw-r--r-- | src/tools/extract_caps.c | 2 | ||||
-rw-r--r-- | src/tools/extract_errnos.sh | 5 | ||||
-rw-r--r-- | src/tools/extract_syscalls.c | 2 | ||||
-rwxr-xr-x | src/tools/mkcoverit.sh | 3 | ||||
-rw-r--r-- | src/tools/testuid.c | 2 | ||||
-rw-r--r-- | src/tools/ttytest.c | 20 | ||||
-rw-r--r-- | src/tools/unixsocket.c | 20 |
8 files changed, 54 insertions, 3 deletions
diff --git a/src/tools/check-caps.sh b/src/tools/check-caps.sh index 13525677b..34ac5993d 100755 --- a/src/tools/check-caps.sh +++ b/src/tools/check-caps.sh | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2020 Firejail Authors | ||
4 | # License GPL v2 | ||
2 | 5 | ||
3 | if [ $# -eq 0 ] | 6 | if [ $# -eq 0 ] |
4 | then | 7 | then |
diff --git a/src/tools/extract_caps.c b/src/tools/extract_caps.c index 24c2b1bd1..d76749e44 100644 --- a/src/tools/extract_caps.c +++ b/src/tools/extract_caps.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2014-2019 Firejail Authors | 2 | * Copyright (C) 2014-2020 Firejail Authors |
3 | * | 3 | * |
4 | * This file is part of firejail project | 4 | * This file is part of firejail project |
5 | * | 5 | * |
diff --git a/src/tools/extract_errnos.sh b/src/tools/extract_errnos.sh index 43b225828..286fdd767 100644 --- a/src/tools/extract_errnos.sh +++ b/src/tools/extract_errnos.sh | |||
@@ -1,3 +1,8 @@ | |||
1 | #!/bin/bash | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2020 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
1 | echo -e "#include <errno.h>\n#include <attr/xattr.h>" | \ | 6 | echo -e "#include <errno.h>\n#include <attr/xattr.h>" | \ |
2 | cpp -dD | \ | 7 | cpp -dD | \ |
3 | grep "^#define E" | \ | 8 | grep "^#define E" | \ |
diff --git a/src/tools/extract_syscalls.c b/src/tools/extract_syscalls.c index d762d283b..83c2f65f3 100644 --- a/src/tools/extract_syscalls.c +++ b/src/tools/extract_syscalls.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2014-2019 Firejail Authors | 2 | * Copyright (C) 2014-2020 Firejail Authors |
3 | * | 3 | * |
4 | * This file is part of firejail project | 4 | * This file is part of firejail project |
5 | * | 5 | * |
diff --git a/src/tools/mkcoverit.sh b/src/tools/mkcoverit.sh index d4a68e397..b21418d5c 100755 --- a/src/tools/mkcoverit.sh +++ b/src/tools/mkcoverit.sh | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2020 Firejail Authors | ||
4 | # License GPL v2 | ||
2 | 5 | ||
3 | # unpack firejail archive | 6 | # unpack firejail archive |
4 | ARCFIREJAIL=`ls *.tar.xz| grep firejail` | 7 | ARCFIREJAIL=`ls *.tar.xz| grep firejail` |
diff --git a/src/tools/testuid.c b/src/tools/testuid.c index 2f85d0252..ad3d2be5f 100644 --- a/src/tools/testuid.c +++ b/src/tools/testuid.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2014-2019 Firejail Authors | 2 | * Copyright (C) 2014-2020 Firejail Authors |
3 | * | 3 | * |
4 | * This file is part of firejail project | 4 | * This file is part of firejail project |
5 | * | 5 | * |
diff --git a/src/tools/ttytest.c b/src/tools/ttytest.c index a449bf9ba..beaeb4fbe 100644 --- a/src/tools/ttytest.c +++ b/src/tools/ttytest.c | |||
@@ -1,3 +1,23 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014-2020 Firejail Authors | ||
3 | * | ||
4 | * This file is part of firejail project | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License along | ||
17 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | */ | ||
20 | |||
1 | #define _XOPEN_SOURCE 600 | 21 | #define _XOPEN_SOURCE 600 |
2 | #include <stdlib.h> | 22 | #include <stdlib.h> |
3 | #include <stdio.h> | 23 | #include <stdio.h> |
diff --git a/src/tools/unixsocket.c b/src/tools/unixsocket.c index c4302eed3..0987deb7a 100644 --- a/src/tools/unixsocket.c +++ b/src/tools/unixsocket.c | |||
@@ -1,3 +1,23 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014-2020 Firejail Authors | ||
3 | * | ||
4 | * This file is part of firejail project | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License along | ||
17 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | */ | ||
20 | |||
1 | #include <stdio.h> | 21 | #include <stdio.h> |
2 | #include <sys/types.h> | 22 | #include <sys/types.h> |
3 | #include <sys/socket.h> | 23 | #include <sys/socket.h> |