external/systemd.git
11 years agoclean up spec file: remove comment out macros and sub packages 89/5789/1 2.2_release submit/tizen_2.2/20130717.065531
Zhang Qiang [Wed, 3 Jul 2013 14:36:19 +0000 (22:36 +0800)]
clean up spec file: remove comment out macros and sub packages

macro like %package can't be commented out, should be removed
instead

Change-Id: I9a22e21e2c5248507861e8c8b78393026a88f0e8

11 years agoAdd patch for reboot delay issue submit/tizen_2.2/20130714.154301
Jae-young [Tue, 28 May 2013 07:52:58 +0000 (16:52 +0900)]
Add patch for reboot delay issue

Because of some processes are not closed when received signal
In order to solve that, timout_usec separate up timeout_start_usec and timeout_stop_usec
and add config_parse_service_timeout function

Change-Id: I584e0cc7c34a214dbb05e6a44af4fedf25751dbe
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
11 years agoFix syscall(__NR_fanotify_mark,...) on arm
Chengwei Yang [Mon, 13 May 2013 09:58:28 +0000 (17:58 +0800)]
Fix syscall(__NR_fanotify_mark,...) on arm

In fanotify_mark definition, the third parameter __u64 mask should be
passed by r2/r3 on arm architecture. However, without a correct libc
wrapper, if it invoked directly by syscall, since FAN_OPEN defined as
uint32_t, it will pass the forth parameter through r3. So the kernel
will get wrong __u64 mask like below

sys_fanotify_mark: fanotify_fd=3 flags=1 dfd=33916 pathname=  (null) mask=ffffff9c00000020

The expected one should looks like

sys_fanotify_mark: fanotify_fd=3 flags=1 dfd=-100 pathname=00008488 mask=20

Please refer to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23618562

Change-Id: I0cbce0e05bdaa6a709406089c172ec09fab69d04
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agoIncrease max inotify instance
Sangjung Woo [Mon, 13 May 2013 11:05:52 +0000 (20:05 +0900)]
Increase max inotify instance

Because of the limit to the amount of inotify fd instance (i.e = 128),
total instances of application execution might be limited. Some _bad_
application, moreover, could use a lot of inotify fd instances
abnormally using eglibc API.

In order to prevent this situation, this work sets the max inotify fd
instance to 1024 as defult value.

Change-Id: Ibb2efdf2de3e0ccb2bf92996a375e694358eaf55
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
11 years agoMerge branch 'tizen_2.1_smack' into tizen_2.1 submit/tizen_2.1/20130514.055024
Ki-wook [Fri, 10 May 2013 12:50:50 +0000 (21:50 +0900)]
Merge branch 'tizen_2.1_smack' into tizen_2.1

11 years agoAdd smack permission to tmp partition
Sangjung Woo [Wed, 8 May 2013 06:01:45 +0000 (15:01 +0900)]
Add smack permission to tmp partition

At the request of Security team (Bumjin Im & kidong kim), Smack
Permission (*) is added to tmp partition.

Change-Id: I822eee19f42db49fe1dad2107d0150a2995225ef
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
11 years agoAdd default OOM Score option from conf file
Sangjung Woo [Fri, 12 Apr 2013 07:56:03 +0000 (16:56 +0900)]
Add default OOM Score option from conf file

This patch is to support default OOM score option from both system.conf
and user.conf. Basically all daemons launched by systemd have the same
OOM score that is pre-defined in conf file except for explicitly be
specified in its service file using 'OOMScoreAdjust' option.

Change-Id: Ia6bd5d483e8bf30c6505ac127337f6a59a94e7f9
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
11 years agoBugfix: Support command delivery to syscall 2.1b_release accepted/tizen_2.1/20130425.040606 submit/tizen_2.1/20130424.230028
Sangjung Woo [Fri, 22 Mar 2013 07:26:08 +0000 (16:26 +0900)]
Bugfix: Support command delivery to syscall

This work is for bug fixing TDIS-2302: "Reboot download" can't reload to
download mode.

Previous sysvinit supports special command passing mechanism when
calling reboot, shutdown, halt. For example, when executing 'reboot
download', the 'download' command is delivered to reboot syscall so
system automatically enter the download mode after rebooting without any
hand action. (Press 'power' and 'volume down' button simultaneously)

However in systemd, when executing 'reboot/halt/shutdown', only realtime
signal is passed through '/dev/initctl'. So systemd daemon can't get the
command to execute.

In order to solve this issue, the command to be delivered is temporally
written to tmp file and shutdown service of systemd will read the
command if existing.

Change-Id: Ic5a07bfa144962f39276c36c33405931d4e592be
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
11 years agosync
Jinkun Jang [Fri, 15 Mar 2013 17:01:39 +0000 (02:01 +0900)]
sync

11 years agomerge with master
Jinkun Jang [Fri, 15 Mar 2013 16:11:10 +0000 (01:11 +0900)]
merge with master

11 years agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 16:45:10 +0000 (01:45 +0900)]
Tizen 2.1 base

12 years agoInitial empty repository
Hyesook Choi [Fri, 8 Jun 2012 06:36:16 +0000 (15:36 +0900)]
Initial empty repository