Linux ARM : Add generated files by 'make sysent' in sys/arm/linux directory
Details
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Reformat arm linux syscalls.master per current style
Equivalent to rS339958 for sys/kern/syscalls.master.
Sponsored by: The FreeBSD Foundation
sys/arm/linux/syscalls.master | ||
---|---|---|
3–25 ↗ | (On Diff #57092) | will also remove this boilerplate as has been done in arm64 linuxulator syscalls.master. |
Upload rebased and updated diff - add arm linuxulator syscalls.conf and Makefile, from arm64
fsync needs to be added here, or an ahci-hd file-backed disk image will fail on FreeBSD guest shutdown with
(ada0:ahcich0:0:0:0): FLUSHCACHE48. ACB: ea 00 00 00 00 40 00 00 00 00 00 00
(ada0:ahcich0:0:0:0): CAM status: ATA Status Error
(ada0:ahcich0:0:0:0): ATA status: 41 (DRDY ERR), error: 04 (ABRT )
(ada0:ahcich0:0:0:0): RES: 41 04 00 00 00 40 00 00 00 00 00
(ada0:ahcich0:0:0:0): Retrying command
(ada0:ahcich0:0:0:0): FLUSHCACHE48. ACB: ea 00 00 00 00 40 00 00 00 00 00 00
(ada0:ahcich0:0:0:0): CAM status: ATA Status Error
(ada0:ahcich0:0:0:0): ATA status: 41 (DRDY ERR), error: 04 (ABRT )
(ada0:ahcich0:0:0:0): RES: 41 04 00 00 00 40 00 00 00 00 00
(ada0:ahcich0:0:0:0): Error 5, Retries exhausted
(ada0:ahcich0:0:0:0): Synchronize cache failed
#ifndef WITHOUT_CAPSICUM
+ cap_rights_init(&rights, CAP_IOCTL, CAP_READ, CAP_SEEK, CAP_WRITE,
+ CAP_FSYNC);
+ if (ro) {
+ cap_rights_clear(&rights, CAP_FSYNC);
+ }