pjdfstest icon indicating copy to clipboard operation
pjdfstest copied to clipboard

Eliminate user 65535

Open asomers opened this issue 2 years ago • 2 comments

Only two unprivileged users are needed: 65534 and 65533 suffice.

chmod/00.t This test only needs one unprivileged user.

{mkfifo,open,mkdir,mknod}/00.t These tests all related to the group ID of a newly created file. They need two unprivileged users and three groups.

asomers avatar Jul 31 '22 22:07 asomers

cc @musikid

asomers avatar Jul 31 '22 22:07 asomers

musikid's GSoC project precipitated this change. For the rewrite we tried to reduce the number of extra users to the minimum, and put them into a config file instead of hard-coding them into each test. The rewrite is nearly done, so I don't intend to keep developing the C/sh version. But I opened this and other PRs as a kind of diff reduction before merging the rewrite. BTW, the new version is at https://github.com/musikid/pjdfstest/tree/master/rust .

asomers avatar Sep 03 '22 12:09 asomers