/
githubmirror
/
strace
Обзор
Документация
Войти
/
githubmirror
/
strace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/faccessat.test
19 строк
425 B
Renaud Métrich
Implement --secontext[=full] option to display SELinux contexts
04 апр 2021, 15:04
04 апр 2021, 15:04
e921913
Код
Авторство
О чём код?
#!/bin/sh # # Check decoding of faccessat syscall. # # Copyright (c) 2020 Dmitry V. Levin <ldv@strace.io> # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh" check_prog sed run_prog > /dev/null run_strace -a23 --trace=faccessat "$@" $args > "$EXP" # Filter out faccessat() calls made by ld.so and libc. sed -n '/faccessat(-1, NULL,/,$p' < "$LOG" > "$OUT" match_diff "$OUT" "$EXP"