mirror of
https://github.com/samba-team/samba.git
synced 2025-01-05 09:18:06 +03:00
8bac900334
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
|
||
---|---|---|
.. | ||
git-hooks | ||
attr_count_read | ||
autobuild.py | ||
bisect-test.py | ||
check-shell-scripts.sh | ||
clean-source-tree.sh | ||
commit_mark.sh | ||
compare_cc_results.py | ||
configure_check_unused.pl | ||
ctdb-import.msg-filter.sh | ||
ctdb-import.tree-filter.sh | ||
ctdb-import.txt | ||
find_python.sh | ||
findstatic.pl | ||
generate_param.py | ||
identity_cc.sh | ||
release.sh | ||
show_test_time | ||
show_testsuite_time | ||
traffic_learner | ||
traffic_replay | ||
traffic_summary.pl |