faccessat: Specify AT_SYMLINK_NOFOLLOW only when necessary.

- Specify AT_SYMLINK_NOFOLLOW in faccessat only when
   the symbolic-link is analyzed by overlay_path().

Change-Id: Ie3b1f7fedef7441fd4b39c5c8b2ef0f73cba770e
Refs: #1370
This commit is contained in:
Shiratori, Takehiro
2020-03-09 11:05:54 +09:00
committed by Masamichi Takagi
parent 4946fbdd82
commit d82ac31bc6
4 changed files with 360 additions and 14 deletions

21
test/issues/1370/README Normal file
View File

@ -0,0 +1,21 @@
/* REDME COPYRIGHT FUJITSU LIMITED 2020 */
ltp: access04: アクセスできないはずのファイルがアクセスできる
https://postpeta.pccluster.org/redmine/issues/1370
テストセットREADME
(0) 事前準備
1. $HOME/.mck_test_configを用意する
(1) テスト実行方法
1. ./1370.sh
(2) テスト項目詳細
LTPの下記項目を実行し、すべての項目でPASSになることを確認する
- access01,02,03,04
- faccessat01
以上。