aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/appimage_size.c
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-10-27 08:58:48 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-10-27 08:58:48 -0400
commitabe5cb027416771da3d01c9b55d12a8f70618ed8 (patch)
tree8b97584d4948238eb104afb96d0691ec3d164fe8 /src/firejail/appimage_size.c
parentremoved ping blacklisting (diff)
downloadfirejail-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.c20
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/*
2Compile with: 21Compile with:
3gcc elfsize.c -o elfsize 22gcc elfsize.c -o elfsize
4Example: 23Example:
@@ -9,7 +28,6 @@ Size of section headers e_shentsize 64
9Number of section headers e_shnum 29 28Number of section headers e_shnum 29
10e_shoff + ( e_shentsize * e_shnum ) = 126584 29e_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>