8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graberlib lchmod note{ lchmod implemented }end execute{
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber #include <sys/types.h>
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn #include <sys/stat.h>
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber #include <errno.h>
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn int
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn main()
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn {
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn lchmod("No-FiLe", 0);
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber return errno != ENOENT;
dc76ac7ab5295b8ad40ac57c51e03da4dbd28479Serge Hallyn }
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber}end
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graberlib lchown note{ lchown implemented }end execute{
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber #include <sys/types.h>
198b363fff1de9afcee2f26b9aa847316f589afeSerge Hallyn #include <sys/stat.h>
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber #include <errno.h>
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber int
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber main()
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber {
8da250dad4b11c4983031742a83fb8f358044fe0Stéphane Graber lchown("No-FiLe", 0, 0);
a5c28c86f56835fa3e0915558e05390dd0a79580Aleksandr Mezin return errno != ENOENT;
a5c28c86f56835fa3e0915558e05390dd0a79580Aleksandr Mezin }
a5c28c86f56835fa3e0915558e05390dd0a79580Aleksandr Mezin}end
a5c28c86f56835fa3e0915558e05390dd0a79580Aleksandr Mezin