diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2020-02-19 15:59:22 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2020-02-19 09:02:01 -0500 |
commit | 6257da999f5e7ec026d66b6e02d43e9569ef0d1c (patch) | |
tree | 7d6d6444192a29b7a9b6ddd76bad30eaf1ba8506 /dynamic-layers/python2-layer | |
parent | dc8c5e90ec7adebb4c5f3e31bdfb14fc89d63b0e (diff) | |
download | meta-selinux-6257da999f5e7ec026d66b6e02d43e9569ef0d1c.tar.gz |
audit: add clock_settime64 syscall
On 32bit system,
After upgrade glibc to 2.31
# strace -o /tmp/test.log date -s 09:16:45
# tail -f /tmp/test.log
close(3) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=114, ...}) = 0
clock_settime64(CLOCK_REALTIME, {tv_sec=1582103805, tv_nsec=0}) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(0x4, 0x40), ...}) = 0
ioctl(1, TCGETS, {B115200 opost isig icanon echo ...}) = 0
write(1, "Wed Feb 19 09:16:45 UTC 2020\n", 29) = 29
close(1) = 0
close(2) = 0
exit_group(0) = ?
+++ exited with 0 +++
It means the clock_settime64 syscall is used, so
add the syscall.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'dynamic-layers/python2-layer')
0 files changed, 0 insertions, 0 deletions