[LTP] [PATCH v2 1/3] syscalls/capset02: Cleanup & convert to new library

Yang Xu
2020-01-13T01:31:10Z

Hi Cyril
>> + TEST(prctl(PR_CAPBSET_DROP, CAP_KILL));
>> + if (TST_RET == -1)
>> + tst_res(TFAIL | TTERRNO, "drop CAP_KILL failed");
>> + else
>> + drop_flag = 1;
> This flag does not seem to be used anywhere. Can't we simply tst_brk()
> here if the call fails?

Since it has used needs_root flag, I think removing this flag is ok(I
removed it in verify functions, but forgot to remove it in setup).

Best Regards
Yang Xu