Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
ltp
/
e6913a7ba6693ea699697fd9e2dde50e60ad2b1b
/
testcases
/
kernel
/
syscalls
/
fchmod
/
fchmod05.c
6cea5d5
syscalls/fchmod05.c: Cleanup && convert to new API
by Petr Vorel
· 6 years ago
c909690
syscalls/fchmod.h: Move common macros to fchmod.h
by Jinhui Huang
· 7 years ago
ad10b67
syscalls/fchmod*: Fix compiler warnings
by Jinhui Huang
· 7 years ago
d8cd45c
Make use of SAFE_OPEN()
by Cyril Hrubis
· 7 years ago
3b11765
Make use of SAFE_CHOWN()
by Cyril Hrubis
· 7 years ago
6022cb3
Make use of SAFE_MKDIR()
by Cyril Hrubis
· 7 years ago
df00754
Make use of SAFE_CLOSE()
by Cyril Hrubis
· 7 years ago
a7fa8561
various: include the POSIX fcntl.h instead of sys/fcntl.h
by Steven Jackson
· 8 years ago
d1e794d
lib: Get rid of unused tst_require_root() callback
by Cyril Hrubis
· 9 years ago
d6d11d0
Introduce tst_parse_opts()
by Cyril Hrubis
· 10 years ago
aabb834
Include usctest.h in test.h
by Cyril Hrubis
· 10 years ago
605fa33
Get rid of TEST_CLEANUP
by Cyril Hrubis
· 10 years ago
d4ceb37
Consistently use tst_require_root() for root user check in syscalls.
by Nicolas Joly
· 10 years ago
e38b961
Remove STD_FUNCTIONAL_TEST
by Cyril Hrubis
· 10 years ago
0b9589f
testcases: Constify char *msg variable.
by Cyril Hrubis
· 10 years ago
c57fba5
testcases/kernel/syscalls: clean up old style prototypes
by Mike Frysinger
· 10 years ago
fdce7d5
Another semiautomated cleanup.
by Cyril Hrubis
· 12 years ago
d59a659
s/Tst_count/tst_count/ to avoid CamelCase
by Caspar Zhang
· 12 years ago
354ebb4
cleanup code indent
by Wanlong Gao
· 12 years ago
89af32a
Another semiautomated cleanup.
by Cyril Hrubis
· 12 years ago
4548c6c
Update FSF address
by Wanlong Gao
· 12 years ago
ec6edca
Add missing newline at end of file
by Chris Dearman
· 12 years ago
1569799
Fix some tests. Remove all externs to Tst_count.
by Garrett Cooper
· 14 years ago
7d0a4a5
Cleanup style and get rid of conflicts problems.
by Garrett Cooper
· 14 years ago
2c28215
Style and conformance changes.
by Garrett Cooper
· 14 years ago
5374050
Merge branch 'master' into ltp-broom
by Garrett Cooper
· 14 years ago
43088e1
Merge branch 'master' of ssh://ltp.git.sourceforge.net/gitroot/ltp/ltp
by Garrett Cooper
· 14 years ago
df3eb16
Deal with a lot of annoying style nits.
by Garrett Cooper
· 14 years ago
45e285d
Remove useless casts.
by Garrett Cooper
· 14 years ago
624a96e
Issue observed with chmod05, fchmod05 test cases: This Patch fixes bug in the test cases chmod05.c and fchmod05.c. The test case uses 2 UserIds nobody and bin. The issue is observed when one of the UserId is the supplementary group Ids of the rooti (either nobody or bin). In that case the Posix standard mentions that S_IGSID bit should not be cleared by the systemcall, chmod() or fchmod(), which causes the test to fail. This patch fixes the issue by specifically clearing the supplementary group ID of the process. The main intention of the test case is to test if S_IGSID bit is cleared in case the non privilage user tries to set file modes. Hence felt clearing the supplementary group Ids is the best way to fix the issue. At the same time I am reverting the earlier patch submitted by Wei Yongjun <yjwei@cn.fujitsu.com>. Signed-off-by: Sharyathi Nagesh <sharyath@in.ibm.com>.
by subrata_modak
· 15 years ago
0e9fc31
fchmod05: fix to the group ownership and the effective user: This patch fixed the modify of the group ownership before do dir chmod and fixed the effective user when do cleanup. Those problems cause the test failed with the following error message:
by subrata_modak
· 15 years ago
945234b
Delete the change_owner binary, as it is an insecure suid root binary; rewrite tests that use it: This patch is based on Jiri's change_owner patch. I removed references in runtest/syscalls and fix some coding style violations. Signed-off-by: Michal Simek <monstr@monstr.eu>.
by subrata_modak
· 15 years ago
56207ce
Coding Syle Cleanups. Signed-Off-By: <michal.simek@petalogix.com>.
by subrata_modak
· 16 years ago
bdbaec5
Clean Trailing Tab: Signed-off-by: Michal Simek <monstr@monstr.eu>.
by subrata_modak
· 16 years ago
4bb656a
Clear Trailing Whitespace. Signed-off-by: Michal Simek <monstr@monstr.eu>.
by subrata_modak
· 16 years ago
43337a3
Fix return(0) to return 0. Signed-off-by: Michal Simek <monstr@monstr.eu>.
by subrata_modak
· 16 years ago
5b31d1b
define _GNU_SOURCE if not already defined
by vapier
· 18 years ago
f9cb916
warnings cleanup
by robbiew
· 22 years ago
cd50126
Corrected the expected permissions on this test. See chmod05 for similar changes.
by robbiew
· 22 years ago
15226cd
Applied patches submitted by:
by robbiew
· 22 years ago
4898862
Removed unneccessary id switch.
by robbiew
· 23 years ago
0e367c3
Made changes so test can run as root.
by robbiew
· 23 years ago
865695b
restructuring work done, and adding about 400 testcases
by plars
· 23 years ago