This fixes rsyslog package installation scripts in Bionic.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 37650 Build 34539: arc lint + arc unit
Event Timeline
Comment Actions
I think the flag should be implemented on the FreeBSD side.
Also, your patch does not handle AT_FDCWD case, that is described in the Linux man page.
sys/compat/linux/linux_file.c | ||
---|---|---|
1741–1742 | You broke detection of the unknown flags. |
Comment Actions
I've considered doing it natively first - that would allow us to support AT_FDCWD with AT_EMPTY_PATH - but after a few hours I gave up. I'd strongly prefer committing this small change instead of making another attempt at understanding namei().
Comment Actions
BTW there are more Linux syscalls taking AT_EMPTY_PATH
sys/compat/linux/linux_file.c | ||
---|---|---|
1760 | Extra () |
sys/compat/linux/linux_file.c | ||
---|---|---|
1760 | This is copy/pasted all over the tree; I'll fix it in a later sweep. |