HelenOS
HelenOS-doc
HelenOS-historic
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
HelenOS
(root)
/
tags
/
0.2.0
/
kernel
/
generic
/
src
/
security
/
cap.c
– Rev 1968
Rev
Hide changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Rev
Age
Author
Path
Log message
Diff
Changes
1968
6524 d 0 h
jermar
/tags/
Canonize pre-0.2.0.3 tags: remove inner branches, tags and trunk directories.
The change now should reflect how those releases looked like after checkout.
/tags/0.1.0/SPARTAN/Makefile
/tags/0.1.0/SPARTAN/Makefile.config
/tags/0.1.0/SPARTAN/arch
/tags/0.1.0/SPARTAN/build.ia32
/tags/0.1.0/SPARTAN/clean
/tags/0.1.0/SPARTAN/contrib
/tags/0.1.0/SPARTAN/doc
/tags/0.1.0/SPARTAN/genarch
/tags/0.1.0/SPARTAN/generic
/tags/0.1.0/SPARTAN/test
/tags/0.1.0/SPARTAN/tools
/tags/0.1.0/SPARTAN/uspace
/tags/0.1.0/uspace/Makefile
/tags/0.1.0/uspace/_link.ld
/tags/0.1.0/uspace/init.c
/tags/0.1.0/uspace/libc
/tags/0.1.1/boot/Makefile
/tags/0.1.1/boot/arch
/tags/0.1.1/boot/boot.config
/tags/0.1.1/boot/tools
/tags/0.1.1/kernel/Makefile
/tags/0.1.1/kernel/arch
/tags/0.1.1/kernel/contrib
/tags/0.1.1/kernel/doc
/tags/0.1.1/kernel/genarch
/tags/0.1.1/kernel/generic
/tags/0.1.1/kernel/kernel.config
/tags/0.1.1/kernel/test
/tags/0.1.1/kernel/tools
/tags/0.1.1/uspace/Makefile
/tags/0.1.1/uspace/init
/tags/0.1.1/uspace/kbd
/tags/0.1.1/uspace/libadt
/tags/0.1.1/uspace/libc
/tags/0.1.1/uspace/ns
/tags/0.1.1/uspace/pci
/tags/0.1.1/uspace/softfloat
/tags/0.1.1/uspace/softint
/tags/0.1.1/uspace/tools
/tags/0.1.1/uspace/uspace.config
/tags/0.2.0.1/boot/Makefile
/tags/0.2.0.1/boot/arch
/tags/0.2.0.1/boot/boot.config
/tags/0.2.0.1/boot/tools
/tags/0.2.0.1/kernel/Makefile
/tags/0.2.0.1/kernel/arch
/tags/0.2.0.1/kernel/contrib
/tags/0.2.0.1/kernel/doc
/tags/0.2.0.1/kernel/genarch
/tags/0.2.0.1/kernel/generic
/tags/0.2.0.1/kernel/kernel.config
/tags/0.2.0.1/kernel/test
/tags/0.2.0.1/kernel/tools
/tags/0.2.0.1/uspace/Makefile
/tags/0.2.0.1/uspace/console
/tags/0.2.0.1/uspace/fb
/tags/0.2.0.1/uspace/init
/tags/0.2.0.1/uspace/ipcc
/tags/0.2.0.1/uspace/kbd
/tags/0.2.0.1/uspace/klog
/tags/0.2.0.1/uspace/libc
/tags/0.2.0.1/uspace/ns
/tags/0.2.0.1/uspace/pci
/tags/0.2.0.1/uspace/softfloat
/tags/0.2.0.1/uspace/softint
/tags/0.2.0.1/uspace/tetris
/tags/0.2.0.1/uspace/tools
/tags/0.2.0.1/uspace/uspace.config
/tags/0.2.0.2/boot/Makefile
/tags/0.2.0.2/boot/arch
/tags/0.2.0.2/boot/boot.config
/tags/0.2.0.2/boot/tools
/tags/0.2.0.2/kernel/Makefile
/tags/0.2.0.2/kernel/arch
/tags/0.2.0.2/kernel/contrib
/tags/0.2.0.2/kernel/doc
/tags/0.2.0.2/kernel/genarch
/tags/0.2.0.2/kernel/generic
/tags/0.2.0.2/kernel/kernel.config
/tags/0.2.0.2/kernel/test
/tags/0.2.0.2/kernel/tools
/tags/0.2.0.2/uspace/Makefile
/tags/0.2.0.2/uspace/console
/tags/0.2.0.2/uspace/doc
/tags/0.2.0.2/uspace/fb
/tags/0.2.0.2/uspace/init
/tags/0.2.0.2/uspace/ipcc
/tags/0.2.0.2/uspace/kbd
/tags/0.2.0.2/uspace/klog
/tags/0.2.0.2/uspace/libc
/tags/0.2.0.2/uspace/ns
/tags/0.2.0.2/uspace/pci
/tags/0.2.0.2/uspace/softfloat
/tags/0.2.0.2/uspace/softint
/tags/0.2.0.2/uspace/tetris
/tags/0.2.0.2/uspace/tools
/tags/0.2.0.2/uspace/uspace.config
/tags/0.2.0/boot/Makefile
/tags/0.2.0/boot/arch
/tags/0.2.0/boot/boot.config
/tags/0.2.0/boot/tools
/tags/0.2.0/kernel/Makefile
/tags/0.2.0/kernel/arch
/tags/0.2.0/kernel/contrib
/tags/0.2.0/kernel/doc
/tags/0.2.0/kernel/genarch
/tags/0.2.0/kernel/generic
/tags/0.2.0/kernel/kernel.config
/tags/0.2.0/kernel/test
/tags/0.2.0/kernel/tools
/tags/0.2.0/uspace/Makefile
/tags/0.2.0/uspace/console
/tags/0.2.0/uspace/fb
/tags/0.2.0/uspace/init
/tags/0.2.0/uspace/ipcc
/tags/0.2.0/uspace/kbd
/tags/0.2.0/uspace/klog
/tags/0.2.0/uspace/libc
/tags/0.2.0/uspace/libfb
/tags/0.2.0/uspace/ns
/tags/0.2.0/uspace/pci
/tags/0.2.0/uspace/softfloat
/tags/0.2.0/uspace/softint
/tags/0.2.0/uspace/tetris
/tags/0.2.0/uspace/tools
/tags/0.2.0/uspace/uspace.config
/tags/0.1.0/SPARTAN/trunk
/tags/0.1.0/uspace/trunk
/tags/0.1.1/boot/trunk
/tags/0.1.1/kernel/trunk
/tags/0.1.1/uspace/trunk
/tags/0.2.0.1/boot/trunk
/tags/0.2.0.1/kernel/branches
/tags/0.2.0.1/kernel/tags
/tags/0.2.0.1/kernel/trunk
/tags/0.2.0.1/uspace/trunk
/tags/0.2.0.2/boot/trunk
/tags/0.2.0.2/kernel/branches
/tags/0.2.0.2/kernel/tags
/tags/0.2.0.2/kernel/trunk
/tags/0.2.0.2/uspace/trunk
/tags/0.2.0/boot/trunk
/tags/0.2.0/kernel/branches
/tags/0.2.0/kernel/tags
/tags/0.2.0/kernel/trunk
/tags/0.2.0/uspace/trunk
1964
6524 d 0 h
jermar
/tags/0.2.0/
Tagging release 0.2.0
/tags/0.2.0
1588
6668 d 4 h
jermar
/kernel/trunk/generic/src/
In task_kill(), remove the task from the tasks_btree before proceeding.
Thus, when the kernel finds the task in the tasks_btree and locks it before
releasing tasks_lock, it is guaranteed that the task will not be destroyed
until the lock is held. If the kernel needs to unlock the task, do some operation
and lock it again, it should increase its refcount before doing so. In that case,
when releasing the lock, it must decrement the refcount and if it reaches
zero, it must call task_destroy().
/kernel/trunk/generic/src/ddi/ddi.c
/kernel/trunk/generic/src/proc/task.c
/kernel/trunk/generic/src/security/cap.c
1297
6697 d 7 h
jermar
/kernel/trunk/
Add SYS_CAP_GRANT and SYS_CAP_REVOKE syscalls.
Move SYS_PREEMPT_CONTROL to ddi.c.
Add some comments and fix some small issues.
/kernel/trunk/generic/include/syscall/sysarg64.h
/kernel/trunk/doc/mm
/kernel/trunk/generic/include/ddi/ddi.h
/kernel/trunk/generic/include/security/cap.h
/kernel/trunk/generic/include/syscall/syscall.h
/kernel/trunk/generic/src/ddi/ddi.c
/kernel/trunk/generic/src/ipc/sysipc.c
/kernel/trunk/generic/src/main/kinit.c
/kernel/trunk/generic/src/mm/tlb.c
/kernel/trunk/generic/src/security/cap.c
/kernel/trunk/generic/src/syscall/syscall.c
1264
6703 d 10 h
jermar
/kernel/trunk/generic/
Improve Doxygen-comments.
/kernel/trunk/generic/include/security/cap.h
/kernel/trunk/generic/src/console/cmd.c
/kernel/trunk/generic/src/console/kconsole.c
/kernel/trunk/generic/src/cpu/cpu.c
/kernel/trunk/generic/src/debug/print.c
/kernel/trunk/generic/src/debug/symtab.c
/kernel/trunk/generic/src/interrupt/interrupt.c
/kernel/trunk/generic/src/lib/elf.c
/kernel/trunk/generic/src/lib/func.c
/kernel/trunk/generic/src/lib/memstr.c
/kernel/trunk/generic/src/lib/sort.c
/kernel/trunk/generic/src/preempt/preemption.c
/kernel/trunk/generic/src/proc/scheduler.c
/kernel/trunk/generic/src/security/cap.c
/kernel/trunk/generic/src/smp/ipi.c
/kernel/trunk/generic/src/synch/condvar.c
/kernel/trunk/generic/src/synch/futex.c
/kernel/trunk/generic/src/synch/mutex.c
/kernel/trunk/generic/src/synch/semaphore.c
/kernel/trunk/generic/src/synch/spinlock.c
/kernel/trunk/generic/src/syscall/syscall.c
/kernel/trunk/generic/src/time/clock.c
/kernel/trunk/generic/src/time/delay.c
/kernel/trunk/generic/src/time/timeout.c
1174
6722 d 11 h
jermar
/kernel/trunk/
Start capabilities support.
/kernel/trunk/generic/include/security
/kernel/trunk/generic/include/security/cap.h
/kernel/trunk/generic/src/security
/kernel/trunk/generic/src/security/cap.c
/kernel/trunk/Makefile
/kernel/trunk/generic/include/proc/task.h
/kernel/trunk/generic/src/main/kinit.c
/kernel/trunk/generic/src/proc/task.c