diff options
author | 2016-10-27 08:58:48 -0400 | |
---|---|---|
committer | 2016-10-27 08:58:48 -0400 | |
commit | abe5cb027416771da3d01c9b55d12a8f70618ed8 (patch) | |
tree | 8b97584d4948238eb104afb96d0691ec3d164fe8 /src/firejail/appimage_size.c | |
parent | removed ping blacklisting (diff) | |
download | firejail-abe5cb027416771da3d01c9b55d12a8f70618ed8.tar.gz firejail-abe5cb027416771da3d01c9b55d12a8f70618ed8.tar.zst firejail-abe5cb027416771da3d01c9b55d12a8f70618ed8.zip |
network code split
Diffstat (limited to 'src/firejail/appimage_size.c')
-rw-r--r-- | src/firejail/appimage_size.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/firejail/appimage_size.c b/src/firejail/appimage_size.c index c8b3d28c5..64fff6901 100644 --- a/src/firejail/appimage_size.c +++ b/src/firejail/appimage_size.c | |||
@@ -1,4 +1,23 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2014-2016 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 | /* | ||
2 | Compile with: | 21 | Compile with: |
3 | gcc elfsize.c -o elfsize | 22 | gcc elfsize.c -o elfsize |
4 | Example: | 23 | Example: |
@@ -9,7 +28,6 @@ Size of section headers e_shentsize 64 | |||
9 | Number of section headers e_shnum 29 | 28 | Number of section headers e_shnum 29 |
10 | e_shoff + ( e_shentsize * e_shnum ) = 126584 | 29 | e_shoff + ( e_shentsize * e_shnum ) = 126584 |
11 | */ | 30 | */ |
12 | |||
13 | #include <elf.h> | 31 | #include <elf.h> |
14 | #include <byteswap.h> | 32 | #include <byteswap.h> |
15 | #include <stdio.h> | 33 | #include <stdio.h> |