[LTP] [PATCH 1/2] syscalls/fchown: Convert fchown04 to the new API

Cyril Hrubis chrubis@suse.cz
Thu Jun 3 13:51:22 CEST 2021


Hi!
Pushed with two minor changes, thanks.

* Removed the SAFE_SETEUID(0) from cleanup since it's not needed

* Added if (fd > 0) to the cleanup, since technically the test can exit
  with TBROK even before these filedescriptors are open so we have to do
  this check

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list