Skip to contentSkip to conversation

open/open13.c: add O_PATH flag test

PATCH Cyril Hrubis 1 participant 1 message Aug 3, 2015 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi!

Review

Quoted 6 lines
(quoted diff) +6 -0
+static void verify_fchown(void)
+{
+	uid_t tuid = 1000;
+	gid_t tgid = 1000;
+
+	TEST(fchown(fd, tuid, tgid));

Any reason why don't we pass the numbers directly to the call?

I.e. TEST(fchonw(fd, 1000, 1000)); ?

Otherwise this looks good.

Signature · 8 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list