priv_wrapper.git
19 months agoAdd pwrap_bind_symbol_all()
Pavel Filipenský [Fri, 9 Sep 2022 12:48:51 +0000 (14:48 +0200)]
Add pwrap_bind_symbol_all()

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoUncomment: "-Wcast-qual" SUPPORTED_COMPILER_FLAGS
Pavel Filipenský [Fri, 9 Sep 2022 09:38:00 +0000 (11:38 +0200)]
Uncomment: "-Wcast-qual" SUPPORTED_COMPILER_FLAGS

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoadd_library(defaults INTERFACE) instead of DEFAULT_C_COMPILE_FLAGS
Pavel Filipenský [Fri, 9 Sep 2022 08:43:25 +0000 (10:43 +0200)]
add_library(defaults INTERFACE) instead of DEFAULT_C_COMPILE_FLAGS

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoAdd PRIV_WRAPPER_DISABLE_DEEPBIND
Pavel Filipenský [Fri, 9 Sep 2022 09:04:18 +0000 (11:04 +0200)]
Add PRIV_WRAPPER_DISABLE_DEEPBIND

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoSync with socket_wrapper: tests/CMakeLists.txt
Pavel Filipenský [Wed, 7 Sep 2022 08:15:54 +0000 (10:15 +0200)]
Sync with socket_wrapper: tests/CMakeLists.txt

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoDefineInstallationPaths -> GNUInstallDirs
Pavel Filipenský [Wed, 7 Sep 2022 06:27:16 +0000 (08:27 +0200)]
DefineInstallationPaths -> GNUInstallDirs

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoSync with socket_wrapper: CompilerChecks.cmake
Pavel Filipenský [Wed, 7 Sep 2022 08:09:06 +0000 (10:09 +0200)]
Sync with socket_wrapper: CompilerChecks.cmake

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoGitLab CI: limit commit history: ~20 -> ~10
Pavel Filipenský [Fri, 9 Sep 2022 07:37:50 +0000 (09:37 +0200)]
GitLab CI: limit commit history: ~20 -> ~10

Fix fedora/csbuild:
/usr/bin/csbuild: fatal error: pathspec 'f1dea519a459b21e1616fb1d2c620c72f8c07714~20' did not match any file(s) known to git

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoAdd gitlab CI
Pavel Filipenský [Mon, 5 Sep 2022 11:45:19 +0000 (13:45 +0200)]
Add gitlab CI

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoAdd test_setrlimit
Pavel Filipenský [Thu, 1 Sep 2022 10:59:57 +0000 (12:59 +0200)]
Add test_setrlimit

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoAdd test_prctl
Pavel Filipenský [Wed, 31 Aug 2022 13:41:57 +0000 (15:41 +0200)]
Add test_prctl

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoAdd test_chroot
Pavel Filipenský [Wed, 31 Aug 2022 11:35:05 +0000 (13:35 +0200)]
Add test_chroot

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoHowto: Steps to run unit tests
Pavel Filipenský [Wed, 31 Aug 2022 14:56:34 +0000 (16:56 +0200)]
Howto: Steps to run unit tests

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoAdd comments explaining the behavior of some prctl options
Pavel Filipenský [Thu, 1 Sep 2022 12:53:22 +0000 (14:53 +0200)]
Add comments explaining the behavior of some prctl options

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agodoc: Update manpage source priv_wrapper.1.txt and generate the manpage via "a2x ...
Pavel Filipenský [Fri, 2 Sep 2022 13:09:28 +0000 (15:09 +0200)]
doc: Update manpage source priv_wrapper.1.txt and generate the manpage via "a2x --format manpage doc/priv_wrapper.1.txt"

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoUpdate date in priv_wrapper.1*
Pavel Filipenský [Mon, 5 Sep 2022 11:59:39 +0000 (13:59 +0200)]
Update date in priv_wrapper.1*

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoAUTHORS
Pavel Filipenský [Wed, 7 Sep 2022 08:09:06 +0000 (10:09 +0200)]
AUTHORS

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoAdd editorconfig
Pavel Filipenský [Wed, 31 Aug 2022 13:06:29 +0000 (15:06 +0200)]
Add editorconfig

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoFix initial commit: Remove priv_handle
Pavel Filipenský [Fri, 9 Sep 2022 09:03:40 +0000 (11:03 +0200)]
Fix initial commit: Remove priv_handle

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoFix initial commit: !priv_wrapper_enabled() in privwrap_setrlimit()
Pavel Filipenský [Thu, 1 Sep 2022 10:59:57 +0000 (12:59 +0200)]
Fix initial commit: !priv_wrapper_enabled() in privwrap_setrlimit()

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoFix initial commit: s/HAVE_PRCTL/HAVE_SETRLIMIT/
Pavel Filipenský [Wed, 31 Aug 2022 19:46:24 +0000 (21:46 +0200)]
Fix initial commit: s/HAVE_PRCTL/HAVE_SETRLIMIT/

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
19 months agoFix initial commit: Rename various 'socket' based names to 'priv'.
Pavel Filipenský [Mon, 29 Aug 2022 12:34:30 +0000 (14:34 +0200)]
Fix initial commit: Rename various 'socket' based names to 'priv'.

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
20 months agoBig bang!
Andreas Schneider [Fri, 26 Oct 2018 09:07:34 +0000 (11:07 +0200)]
Big bang!

Pair-Programmed-With: Nikos Mavrogiannopoulos
Signed-off-by: Andreas Schneider <asn@samba.org>