[LTP] [PATCH 1/2] syscalls/fchown: Convert fchown04 to the new API
From: Cyril Hrubis <chrubis@suse.cz>
Date: 2021-06-03 11:51:22
From: Cyril Hrubis <chrubis@suse.cz>
Date: 2021-06-03 11:51:22
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