a2c29e8abf
correct the value of tod_data.origin
...
tod_data.origin should hold a time when TSC is zero.
2016-03-28 22:57:39 +09:00
18add6a9bd
shmctl(IPC_RMID): fix wrong owner/creator checking (revised)
...
Don't check owner/creator of the segment in case of superuser.
2016-03-28 16:02:24 +09:00
a083e6c2bf
Revert "shmctl(IPC_RMID): fix wrong owner/creator checking"
...
This reverts commit 8b5b075f4c .
The reverted commit modifies IPC_SET instead of IPC_RMID.
2016-03-28 16:00:39 +09:00
a2548f5421
Revert "fix REQ-42"
...
This reverts commit 4a0682bbc1 .
The reverted commit appears to be wrong, for example:
- arch_range_check()'s arguments and parameters are mismatch.
- arch_range_check() implementation is not checking range.
Conflicts:
kernel/syscall.c
2016-03-28 13:51:57 +09:00
6790126a23
fix REQ-37: remap_one_page: remove to check page size
2016-03-27 14:05:00 +09:00
1195549f41
fix REQ-19: some syscalls change how to access user space
2016-03-27 11:43:53 +09:00
a11479eba8
fix REQ-48
2016-03-25 13:05:53 +09:00
31595b7409
fix REQ-43
2016-03-25 12:57:31 +09:00
4a0682bbc1
fix REQ-42
2016-03-24 19:14:50 +09:00
932a287437
fix REQ-40
2016-03-24 13:46:13 +09:00
670741ae40
fix REQ-39
2016-03-24 13:45:15 +09:00
b1309a5d53
map PIE at map_end instead of at user_start
2016-03-23 19:14:28 +09:00
489cd6d1a2
refactor prepare_process_ranges_args_envs()
2016-03-23 19:14:28 +09:00
c9cc4330c8
mincore: take into account pages cached in memobj
2016-03-23 19:14:28 +09:00
604f846cd2
mincore: check [start..start+len) is in user region
2016-03-23 19:14:28 +09:00
e939cf6862
mincore: cosmetic changes
2016-03-23 19:14:28 +09:00
72f2e5ebe0
shmobj: implement lookup_page method
2016-03-23 19:14:28 +09:00
bd7dddd415
fileobj: implement lookup_page method
2016-03-23 19:14:28 +09:00
fbd9dc878b
memobj: add lookup_page method
2016-03-23 19:14:28 +09:00
86ac51157c
add error checks to shmctl(SHM_UNLOCK)
2016-03-23 19:14:27 +09:00
b73fa2b972
add error checks to shmctl(SHM_LOCK)
2016-03-23 19:14:27 +09:00
798f69bceb
add has_cap_ipc_lock()
2016-03-23 19:14:27 +09:00
e8be52a1ff
shm: trace the amount of locked segment per user
2016-03-23 19:14:27 +09:00
8b5b075f4c
shmctl(IPC_RMID): fix wrong owner/creator checking
...
Don't check owner/creator of the segment in case of superuser.
2016-03-23 19:14:27 +09:00
b214fc278a
add has_cap_sys_admin()
2016-03-23 19:14:27 +09:00
b3ae7f46bd
add rlim_t (a type of rlim_cur and rlim_max)
2016-03-23 19:14:27 +09:00
48167d3223
shmget: add "shmflg" checks for SHM_HUGE*
2016-03-23 19:14:27 +09:00
d65135c040
move sys_shmget() into arch-dependent code
2016-03-23 19:14:27 +09:00
1761acc4c3
eliminate geteuid(), getegid() and getpid()
2016-03-23 19:04:32 +09:00
d4d93df032
mmap: add "flags" checks for MAP_HUGE*
2016-03-23 19:04:32 +09:00
261bddb999
add a member pgshift into struct vm_range
...
pgshift indicates a page size in the range.
2016-03-23 19:04:32 +09:00
1a3bc851af
mprotect: return -ENOMEM if speicified range is out of range
2016-03-23 19:04:32 +09:00
81690c5b5a
mmap: cosmetic changes
2016-03-23 19:04:32 +09:00
832c0f9afd
refactor copy_user_ranges()
2016-03-23 19:04:32 +09:00
e74eb1dd51
add some prototypes to <memory.h>
2016-03-23 19:04:32 +09:00
4595aa3079
pte_visitor_t(): change "pgsize" into "pgshift"
2016-03-23 19:04:32 +09:00
807d294ac4
signalfd4: fix initialize
2016-06-03 20:58:02 +09:00
d192e6c0fe
modify PAPI support
2016-03-22 15:52:59 +09:00
1aac2c8e23
add CPU timer initialization (refs #402 )
...
There is no actual initialization in x86 now.
The initialization rely on hardware reset and Linux initialization.
2016-03-11 19:20:37 +09:00
70e8dd7979
remove initialization of TSC (refs #362 )
2016-03-11 19:17:29 +09:00
eb0700359b
fix REQ-36
2016-03-10 10:33:38 +09:00
3f16a9443e
ptrace_report_signal: save debug regs before to send SIGCHLD to tracer
2016-03-09 22:29:51 +09:00
bf0cf0a346
fix REQ-31
2016-03-08 15:19:03 +09:00
14b868907b
fix REQ-27
2016-03-07 18:52:08 +09:00
dbc778e4fa
support getrusage (work in progress)
2016-03-07 17:06:44 +09:00
8ebb3a4231
schedule: migration free last thread if terminated
2016-03-03 22:44:44 +09:00
6ce00b5f0f
sysfs: samples of snooping ops
2016-02-29 19:59:04 +09:00
4ec0e02a89
sysfs: add snooping ops
2016-02-29 19:23:01 +09:00
1dc8513cd3
fix REQ-20
2016-02-26 16:18:30 +09:00
c4c5e435cc
fix REQ-12
2016-02-24 20:57:45 +09:00