summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Phil Sutter [Wed, 6 Sep 2023 17:02:52 +0000 (19:02 +0200)]
include: linux: Update kernel.h
Its contents were moved into const.h and sysinfo.h, apply these changes
to the cached copies. Fixes for the following warning when compiling
xtables-monitor.c with new kernel headers in /usr/include:
| In file included from ../include/linux/netfilter/x_tables.h:3,
| from ../include/xtables.h:19,
| from xtables-monitor.c:36:
| ../include/linux/kernel.h:7: warning: "__ALIGN_KERNEL" redefined
| 7 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
| |
| In file included from /usr/include/linux/netlink.h:5,
| from /home/n0-1/git/libmnl/install/include/libmnl/libmnl.h:9,
| from xtables-monitor.c:30:
| /usr/include/linux/const.h:31: note: this is the location of the previous definition
| 31 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
| |
Signed-off-by: Phil Sutter <phil@nwl.cc>
Cherry-picked from:
cb884bf73a4d8585a7739702ca690fdc590341ba
Change-Id: Ifbdce5b37c1fed8c49339b1086998effefd3ef27
Florian Westphal [Sat, 23 Jul 2022 18:25:49 +0000 (20:25 +0200)]
extensions: libxt_conntrack: remove always-false conditionals
libxt_conntrack.c:1292: warning: the comparison will always evaluate as
false for the address of origsrc_addr will never be NULL [-Waddress]
Backport commit:
https://git.netfilter.org/iptables/commit/?id=
e88085ac41b4c962e1d85dcc8dc6fa0d1f80dc12
Change-Id: I2800f0326273e537b2c75f7698f1b7525d13c99a
Signed-off-by: Florian Westphal <fw@strlen.de>
Phil Sutter [Fri, 20 Oct 2017 11:24:36 +0000 (13:24 +0200)]
libxt_recent: Remove ineffective checks for info->name
In struct xt_recent_mtinfo{,_v1}, field 'name' is an array, not a
pointer. So there is no point in comparing it against NULL. Changing the
check to make sure it's content is not an empty string is pointless
either, since a non-empty default string is used and the argument parser
will refuse empty strings as --name argument. So simply get rid of the
checks altogether.
Backport commit:
https://git.netfilter.org/iptables/commit/?id=
d0e3d95fa3442c6ff32f7fed3e0d2eeb2248ef9f
Change-Id: I59efe3f354b4235c976497c1cad85b01a73cd867
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
Seonah Moon [Wed, 31 Mar 2021 05:05:46 +0000 (14:05 +0900)]
libxtables: Avoid buffer overrun in xtables_compatible_revision()
The function is exported and accepts arbitrary strings as input. Calling
strcpy() without length checks is not OK.
Backport commit:
https://git.netfilter.org/iptables/commit/?id=
f7d3dbb82e7ed94ccbf10cf70a3c7b3f3aaef1a1
Change-Id: Ibe4d0957fd6d9dd284ac3f84a328ea7b85e32b6b
Seonah Moon [Mon, 30 Dec 2019 05:01:11 +0000 (14:01 +0900)]
gcc9: ignore build warnings
iptables is OPENP package.
So, This change adds exception options to CFLAGS.
Change-Id: Ie73e24c0c52fbc19fb900c57954c1300ca8c7f46
Cheoleun Moon [Thu, 4 Jul 2019 03:28:14 +0000 (12:28 +0900)]
extensions: libxt_owner: Add supplementary groups option
extensions: libxt_owner: Add supplementary groups option
The --suppl-groups option causes GIDs specified with --gid-owner to be
also checked in the supplementary groups of a process.
Signed-off-by: Lukasz Pawelczyk <l.pawelczyk@samsung.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Change-Id: If33e85d065867b63b5962f6596e04df40f6312a4
Mayank Haarit [Tue, 23 Jan 2018 14:16:17 +0000 (19:46 +0530)]
[Fix] Build issue for x86_64 architecture
Description: This patch fixes build issue for x86_64 architecture.
It adds -fPIC compile time flag in spec file.
Change-Id: I14d9b4d430fbf1f1266b50a4939d76c82e65e22a
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
Abhishek Sansanwal [Mon, 22 Jan 2018 09:41:42 +0000 (15:11 +0530)]
Added hardening compiler flags in the spec file.
Change-Id: I2ad97b89cf85fbea165550da24477434fd822ec6
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Abhishek Sansanwal [Fri, 12 Jan 2018 05:20:53 +0000 (10:50 +0530)]
Instead of using the configure file generated, use the autogen.sh script
Change-Id: I9733f1c6c41e2d73a847872fac0aad5e7b984a9b
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Seonah Moon [Thu, 17 Aug 2017 06:25:13 +0000 (15:25 +0900)]
Apply ASLR
Change-Id: I4dacf47792df35358241f3e4b135996685a8c8aa
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Seonah Moon [Wed, 7 Jun 2017 06:29:12 +0000 (15:29 +0900)]
Fixed build errors
- Apply upstream patch to fix 64-bit printf formats
(http://git.netfilter.org/iptables/commit/?id=
1ec1fb7af08121d974416a1a23cd2d329fc0e29e)
- Add new *.so files
Change-Id: I2014027b3d5fbb0b9887350717f50af8b1d79d74
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
taesub kim [Thu, 6 Jul 2017 07:56:10 +0000 (07:56 +0000)]
Merge "Revert "Revert "Update to 1.6.1""" into tizen
taesub kim [Thu, 6 Jul 2017 07:21:59 +0000 (07:21 +0000)]
Revert "Revert "Update to 1.6.1""
This reverts commit
eac60d08db79295c738899c6104410fb1a70aed7.
Change-Id: Ibd1685d0e50dab1d3536b46d0281cd8af2b33b8b
taesub kim [Fri, 9 Jun 2017 06:09:45 +0000 (06:09 +0000)]
Merge "Revert "Update to 1.6.1"" into tizen
taesub kim [Fri, 9 Jun 2017 06:09:36 +0000 (06:09 +0000)]
Revert "Update to 1.6.1"
This reverts commit
a4cc732a72c3b5d749117b739daf0fc677f96bf0.
Change-Id: Idad44fbfab8fe25207d5ef6fbcba9b7855f9b3e8
taesub kim [Fri, 9 Jun 2017 06:09:08 +0000 (06:09 +0000)]
Revert "Fixed build errors"
This reverts commit
5140fc0ffedb7766d8ac656fcf2d9f35c7cc5efb.
Change-Id: I1b961d09e7c38badf97ac7c7982ee28a7ed03690
Seonah Moon [Wed, 7 Jun 2017 06:29:12 +0000 (15:29 +0900)]
Fixed build errors
- Apply upstream patch to fix 64-bit printf formats
(http://git.netfilter.org/iptables/commit/?id=
1ec1fb7af08121d974416a1a23cd2d329fc0e29e)
- Add new *.so files
Change-Id: I355a293713a4f11b701c8b114f1d86cbd914699e
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Seonah Moon [Wed, 7 Jun 2017 05:54:35 +0000 (14:54 +0900)]
Update to 1.6.1
Change-Id: Iccec62c7650f8a67de2b5cecdaa4e6c4652e1f95
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
taesub kim [Wed, 7 Jun 2017 05:34:49 +0000 (14:34 +0900)]
Imported Upstream version 1.6.1
Change-Id: Ib0fe67a04e66a00e36633f0f3c9272a44a42e8aa
Seonah Moon [Thu, 23 Mar 2017 05:28:08 +0000 (14:28 +0900)]
Changed the path of license by using '%license' macro
Change-Id: I1d15c9c869278a8d74289ea6eff3498bdff1c2a6
Seonah Moon [Mon, 28 Dec 2015 05:35:30 +0000 (14:35 +0900)]
Sycn code from tizen 2.4
Change-Id: I974f50e1bb3493190ac63a79adae234ffac011b3
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
taesub.kim [Tue, 22 Dec 2015 04:22:21 +0000 (13:22 +0900)]
Modified license using SPDX license identifier
Change-Id: Iefe9b260ba3b7e81ddcf932eaf35aecdc8240515
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
José Bollo [Mon, 10 Nov 2014 16:11:32 +0000 (17:11 +0100)]
update to version 1.4.21
Change-Id: I99743036399e0dd28b1548fc407d90059a981cfa
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
Anas Nashif [Fri, 16 Aug 2013 11:34:51 +0000 (07:34 -0400)]
Update to 1.4.19.1
Alexandru Cornea [Fri, 28 Jun 2013 21:04:39 +0000 (00:04 +0300)]
resetting manifest requested domain to floor
Anas Nashif [Mon, 18 Mar 2013 20:48:00 +0000 (13:48 -0700)]
Update package groups
Anas Nashif [Mon, 5 Nov 2012 17:26:14 +0000 (09:26 -0800)]
remove unused source file
Anas Nashif [Mon, 5 Nov 2012 17:17:25 +0000 (09:17 -0800)]
batch
Anas Nashif [Mon, 5 Nov 2012 17:17:13 +0000 (09:17 -0800)]
apply mktemp fix
Anas Nashif [Mon, 5 Nov 2012 17:16:52 +0000 (09:16 -0800)]
remove docs
Anas Nashif [Mon, 5 Nov 2012 17:15:28 +0000 (09:15 -0800)]
add packaging
José Bollo [Mon, 10 Nov 2014 16:03:15 +0000 (17:03 +0100)]
Imported Upstream version 1.4.21
Anas Nashif [Fri, 16 Aug 2013 11:27:01 +0000 (07:27 -0400)]
Imported Upstream version 1.4.19.1
Anas Nashif [Mon, 5 Nov 2012 17:15:27 +0000 (09:15 -0800)]
Imported Upstream version 1.4.14