utimes: fix failure of utimes01: In /testcases/kernel/syscalls/utimes, case02 expects "EACCES" error. According to utimes's manual: EACCES  times is NULL, the caller’s effective user ID does not match the owner of the file, the caller does not have write access to the file, and the caller is not privileged (Linux: does  not  have either the CAP_DAC_OVERRIDE or the CAP_FOWNER capability). However, now case02's times is not NULL so that it can only get "EPERM". So, change case02's times to NULL to reach its expect. This patch fixes the problem. Signed-off-by: Liu Bo <liubo-fnst@cn.fujitsu.com>.
1 file changed