Implement openat2 wrapper
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | test-syscall: Remove build warningtest/ | +1 | 0 replies | |
| 2/4 | ports/linux/pseudo_wrappers.c: Reorder the syscall operationsports/ | +16 | 0 replies | |
| 3/4 | ports/linux/pseudo_wrappers.c: Call the wrappers where possibleports/ | +17 | 0 replies | |
| 4/4 | openat2: Implement openat2 wrapperports/ ports/ test/ | +187 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [pseudo][PATCH 0/4] Implement openat2 wrapper
Since openat2 isn't a regular function on most systems, the implementation is a bit strange. We implement the openat2 function based on the existing openat (in the future, we may be able to get rid of openat redirecting it to this new openat2.) Then instead of calling real_openat2, we call real_syscall instead.
This appears to work where I've run it, but I don't have a very extensive test case at this time. Any review of this serious would be appreciated.
Mark Hatle (1):
openat2: Implement openat2 wrapper
mark.hatle (3):
test-syscall: Remove build warning ports/linux/pseudo_wrappers.c: Reorder the syscall operations ports/linux/pseudo_wrappers.c: Call the wrappers where possible
ports/linux/openat2/guts/openat2.c | 186 +++++++++++++++++++++++++++++++++++-- ports/linux/pseudo_wrappers.c | 51 ++++++---- test/test-syscall.c | 12 ++- 3 files changed, 215 insertions(+), 34 deletions(-)
Signature · 1 line
1.8.3.1