1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
samba-mirror/script
Ralph Boehme 8bac900334 CI: disable /proc/fds and RESOLVE_NO_SYMLINK in samba-no-opath-build runner
This is a more sensible combination of missing Linux specific features:

- O_PATH
- openat2() with RESOLVE_NO_SYMLINKS
- somehow safely reopen an O_PATH file handle

Currently only O_PATH is disabled for these jobs, but that doesn't really match
and know OS.

The following list shows which features are available and used by Samba on a few
OSes:

        | O_PATH         | RESOLVE_NO_SYMLINKS | Safe reopen    | CI covered
--------|----------------|---------------------|----------------------------
        | Supported Used | Supported Used      | Supported Used |
============================================================================
Linux   | +         +    | +         +         | +         +    | +
FreeBSD | +         +    | + [1]     -         | + [2]     -    | -
AIX     | -         -    | -         -         | -         -    | +

So by also disabling RESOLVE_NO_SYMLINKS and Safe Reopen, we cover classic UNIX
systems like AIX.

[1] via open() flag O_RESOLVE_BENEATH
[2] via open() flag O_EMPTY_PATH

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15549

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 62cbe145c7)
2024-01-29 10:45:17 +00:00
..
git-hooks script: Reformat shell scripts 2022-03-03 00:59:34 +00:00
attr_count_read python: Remove unnecessary 'pass' statements 2022-05-10 05:19:34 +00:00
autobuild.py CI: disable /proc/fds and RESOLVE_NO_SYMLINK in samba-no-opath-build runner 2024-01-29 10:45:17 +00:00
bisect-test.py script/bisect-test.py: add support git worktree 2021-08-12 08:07:29 +00:00
check-shell-scripts.sh script: Add script to run shellcheck on shell scripts 2022-08-17 10:08:35 +00:00
clean-source-tree.sh script: Reformat shell scripts 2022-03-03 00:59:34 +00:00
commit_mark.sh script: Reformat shell scripts 2022-03-03 00:59:34 +00:00
compare_cc_results.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
configure_check_unused.pl
ctdb-import.msg-filter.sh script: add ctdb-import.* scripts 2013-11-13 14:12:51 +01:00
ctdb-import.tree-filter.sh script: Reformat shell scripts 2022-03-03 00:59:34 +00:00
ctdb-import.txt script: add ctdb-import.* scripts 2013-11-13 14:12:51 +01:00
find_python.sh script: Reformat shell scripts 2022-03-03 00:59:34 +00:00
findstatic.pl
generate_param.py param: Enable including source3/param/param_proto.h without vfs.h 2021-05-11 22:56:37 +00:00
identity_cc.sh waf: add a cross-execute program that runs natively 2015-05-20 11:19:11 +02:00
release.sh script: Reformat shell scripts 2022-03-03 00:59:34 +00:00
show_test_time python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
show_testsuite_time Print number of slow tests from script rather than wscript. 2014-11-24 13:06:46 +01:00
traffic_learner python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
traffic_replay python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
traffic_summary.pl traffic_summary: avoid uninitialised variable warning 2017-08-17 04:06:06 +02:00