platform/core/system/sys-assert.git
8 years agosys-assert: add option to disable sys-assert 18/43618/2 accepted/tizen_3.0_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0.m2 accepted/tizen/3.0/common/20161114.110045 accepted/tizen/ivi/20160218.023903 accepted/tizen/mobile/20150713.013053 accepted/tizen/tv/20150713.013104 accepted/tizen/wearable/20150713.013115 submit/tizen/20150711.060122 submit/tizen_3.0_common/20161104.104000 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Taeyoung Kim [Sat, 11 Jul 2015 04:54:04 +0000 (13:54 +0900)]
sys-assert: add option to disable sys-assert

- Actions of sys-assert
  = sys-assert adds signal handlers for crash signals
    (SIGABRT, SIGSEGV, ...) by /etc/ld.so.preload
  = sys-asserts changes the path of coredump file
    for crash-worker to gather all of crash information

- This commit adds the option 'SYS_ASSERT_ENABLE' and
  sets the value to 'no'. Thus sys-assert is not preloaded,
  and the path of coredump is set (/var/lib/systemd/coredump)
  by systemd

Change-Id: Ia4423fd64380b99c3699216937c16595a77c70a0
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
9 years agopackaging: enable TARGET for aarch64 73/26473/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_3.0_ivi accepted/tizen_common tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m14.3_ivi tizen_3.0_ivi accepted/tizen/common/20140825.140724 accepted/tizen/ivi/20140828.163404 submit/tizen/20140825.025442 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release tizen_3.0_ivi_release
Chanho Park [Mon, 25 Aug 2014 02:51:37 +0000 (11:51 +0900)]
packaging: enable TARGET for aarch64

Change-Id: I58ff71102a74b25f50c1b08e67e1489789f0b475
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
10 years agoAdd AArch64 support 79/21379/2 tizen_3.0.m14.2_ivi submit/tizen_common/20140521.163740 submit/tizen_common/20140522.130648 submit/tizen_common/20140522.135644 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000 submit/tizen_ivi/20140623.000000 submit/tizen_ivi/20140624.064036 submit/tizen_ivi/20140626.125712 submit/tizen_ivi/20140626.130032 submit/tizen_ivi/20140626.144348 tizen_3.0.m14.2_ivi_release
Yury Usishchev [Mon, 19 May 2014 11:51:10 +0000 (15:51 +0400)]
Add AArch64 support

Add support for aarch64 registers to sighandler function.

Change-Id: Id705514ce851ee8b0e03402540ed8cf345a27bb0
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
10 years agoadd libtzplatform-config library link 45/18945/1
Sabera Djelti (sdi2) [Thu, 3 Apr 2014 09:17:13 +0000 (11:17 +0200)]
add libtzplatform-config library link

Bug-Tizen: PTREL-774

Change-Id: I4b909ae9988d708c59a4f96b1c4e9e17b1db7ff2
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoremove hardcoded path for multiuser support 57/16457/3
Jean-Benoit MARTIN [Thu, 13 Feb 2014 13:34:28 +0000 (14:34 +0100)]
remove hardcoded path for multiuser support

Bug-Tizen: PTREL-279

Change-Id: I1f292c36f88bd5481913e047b4fe94ea125815a3
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
10 years agoUpdate /etc/ld.so.preload after installing the package to have single entry 28/15928/2
Ravi Nanjundappa [Fri, 31 Jan 2014 05:08:36 +0000 (10:38 +0530)]
Update /etc/ld.so.preload after installing the package to have single entry

Add %post script to the spec file that checks for an entry of
libsys-assert.so in /etc/ld.so.preload file during re-installation time
and add the entry only once

Bug-Tizen: PTREL-651
Change-Id: I7f90a68542ff5734d78b3c0c8be339ee2da49609
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
10 years agoSet Smack label on crash and crash/info PTREL-544 72/15472/1
Casey Schaufler [Tue, 21 Jan 2014 17:20:04 +0000 (09:20 -0800)]
Set Smack label on crash and crash/info PTREL-544

Set the Smack label on /opt/share/crash and /opt/share/crash/info
to System::Log. This will allow System and User processes to create
crash reports there. These directories are not marked as transmuting
because we don't want System and User looking at each other's crashes.

Bug-Tizen: PTREL-544
Signed-off-by: Casey Schaufler <casey.schaufer@intel.com>
Change-Id: Id5c665fa6f285e0e1199f36b3b5927f1e34d9107

10 years agoUpdate /etc/ld.so.preload after un-installing the package 07/15007/5
nravi [Wed, 15 Jan 2014 04:15:18 +0000 (09:45 +0530)]
Update /etc/ld.so.preload after un-installing the package

Add %postun script to the spec file that removes the entry for libsys-assert.so
from the /etc/ld.so.preload file with the bash script way, using sed

Bug-Tizen: PTREL-11
Change-Id: If3c88b5c42fe9f9b66d208f63d30e8eaacc74d90
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
10 years agoprevent out of bounds write 44/11544/2
juho [Wed, 26 Jun 2013 14:04:27 +0000 (23:04 +0900)]
prevent out of bounds write

modify max size of read
check the tainted variable
and add requires(post) smack-utils

Conflicts:

packaging/sys-assert.spec

Change-Id: I20e774bf9f56ace874c3cca4d2452e773b8c25fc
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
10 years agoremove unnessary meaning code 43/11543/2
juho [Mon, 24 Jun 2013 00:24:39 +0000 (09:24 +0900)]
remove unnessary meaning code

TIMER log make the confusing in crash report file as .cs
and can't open log is not need in callstack information.

Change-Id: I8bfae5d5e4133b7a6fe206ef41beff86bbd83fbe
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
10 years agochange backtrace function from eglibc to libunwind 42/11542/2
Seokhyun Kim [Wed, 29 May 2013 12:19:53 +0000 (21:19 +0900)]
change backtrace function from eglibc to libunwind

Change-Id: If12d4582370e074e30b40e93dc7b999b5fbc78ae
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
10 years agoremove core-launcher 41/11541/2
juho [Thu, 23 May 2013 08:39:54 +0000 (17:39 +0900)]
remove core-launcher

It is not use no more.
so remove that source.
and chmod /opt/share/crash directory.

Change-Id: I581208a69058a2bf5c1c1590f2c5279a7d3016c7
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
10 years agopackaging: Fix the build on x86_64; resolve rpmlint error 93/8293/2 accepted/tizen/ivi/genivi accepted/tizen/ivi/stable accepted/tizen_generic tizen_ivi_genivi accepted/tizen/20130912.185710 accepted/tizen/20130912.193902 accepted/tizen/20130913.030931 accepted/tizen/ivi/genivi/20140131.041707 accepted/tizen_ivi_stable/20131116.111709 ivi_oct_m2 submit/tizen/20130815.013229 submit/tizen/20130912.080424 submit/tizen/20130912.090723 submit/tizen_ivi_genivi/20140131.040818 submit/tizen_ivi_stable/20131116.100757
Patrick McCarty [Wed, 14 Aug 2013 22:25:32 +0000 (15:25 -0700)]
packaging: Fix the build on x86_64; resolve rpmlint error

The previous commit broke the build for x86_64, since %{_libdir} will
expand to /usr/lib64 for this arch. Also, systemd would not recognize
the /usr/lib64/sysctl.d directory, so /usr/lib/sysctl.d must stay
hardcoded.

Additionally, change RPM group tag to resolve an rpmlint error.

Change-Id: I071161458527499f3bcf55d1622c24febb952602
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
10 years agoEnhance %post script to handle upgrade vs. first installation gracefully (TIVI-1530) 48/7848/3
Geoffroy Van Cutsem [Thu, 8 Aug 2013 10:04:45 +0000 (12:04 +0200)]
Enhance %post script to handle upgrade vs. first installation gracefully (TIVI-1530)
Replace hard-coded path by macros in a %post and %files sections

Change-Id: I3b5c00abf3b29cfef13a95aef1a8a4762100fbfc
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
10 years agoFix manifests 32/5832/1
Michael Leibowitz [Wed, 17 Jul 2013 17:46:49 +0000 (10:46 -0700)]
Fix manifests

put manifests in packaging/
consistent use of %{name} macros

Signed-off-by: Michael Leibowitz <michael.leibowitz@intel.com>
10 years agoDo not split libsys-assert 37/5037/1 accepted/tizen/20130629.132108 submit/tizen/20130628.202745
Anas Nashif [Fri, 28 Jun 2013 18:33:00 +0000 (14:33 -0400)]
Do not split libsys-assert

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
10 years agoCleanup spec 39/4539/2 accepted/tizen/20130628.202129 submit/tizen/20130628.130547
Anas Nashif [Fri, 28 Jun 2013 07:46:40 +0000 (03:46 -0400)]
Cleanup spec

- Use lua instead of shell for %post to minimize dependencies
- Split library package
- Reset group, licenses
- Do not create directories as part of %post
- Reset git file permissions

Change-Id: Ie336c2b6906e838646e62ea5202a4d904fe938c0
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
11 years agoChanges : Replace manifest with default floor 41/3841/2
Xavier Roche [Wed, 5 Jun 2013 15:31:59 +0000 (17:31 +0200)]
Changes : Replace manifest with default floor

11 years agoUpdate Changelog 02/3802/1 40/3840/2 accepted/tizen/20130604.172001 accepted/tizen/20130611.123358 submit/tizen/20130604.095802
Baptiste DURAND [Tue, 4 Jun 2013 09:55:54 +0000 (11:55 +0200)]
Update Changelog

11 years agoFix spec file according to RPMLINT Rules 01/3801/1
Baptiste DURAND [Tue, 4 Jun 2013 09:55:27 +0000 (11:55 +0200)]
Fix spec file according to RPMLINT Rules

11 years agoAdd Changelog 57/3757/1
Baptiste DURAND [Wed, 29 May 2013 15:24:08 +0000 (17:24 +0200)]
Add Changelog

11 years agoRemove hardcoded library path 56/3756/1
Baptiste DURAND [Wed, 29 May 2013 15:17:20 +0000 (17:17 +0200)]
Remove hardcoded library path

11 years agoFix compatibility for x64 arch 55/3755/1
Baptiste DURAND [Wed, 29 May 2013 15:15:05 +0000 (17:15 +0200)]
Fix compatibility for x64 arch

according to ucontext.h update define used to get register values.

11 years agoprevent to using the tainted data tizen_2.1 2.1b_release accepted/tizen/20130520.101311 accepted/tizen_2.1/20130425.025152 submit/tizen/20130517.045233 submit/tizen_2.1/20130424.233307
juho [Tue, 23 Apr 2013 16:45:48 +0000 (01:45 +0900)]
prevent to using the tainted data

add check the size of variable.

Change-Id: Id583cf5650adf936790f861dc7920848177f85d7

11 years agoadd default debugmode file.
juho [Tue, 16 Apr 2013 12:29:51 +0000 (21:29 +0900)]
add default debugmode file.

Change-Id: I5efb43546319d6857de221b50a20ad1df26fd1df

11 years agoremove unnecessary code
juho [Fri, 12 Apr 2013 08:20:24 +0000 (17:20 +0900)]
remove unnecessary code

remove unnecessary sys-assert.service
and code clean
add fix prevent error( resource leak so add close code )
Change-Id: Id8b7db5462fa9d2146398abdd1a7e3545bc57be8

11 years agoremove bfd library
juho [Thu, 11 Apr 2013 09:35:48 +0000 (18:35 +0900)]
remove bfd library

bfd have license problem.
so removed.

Change-Id: I2a9ae8ae4ddd823bb102c951aab3307d515b3859

11 years agoFix for 64 bit compatibility.
Junfeng Dong [Mon, 1 Apr 2013 07:56:44 +0000 (15:56 +0800)]
Fix for 64 bit compatibility.

- Use %cmake to set default paths.
- Fix register values special for 64 bit.
- Fix build error with new version of binutils. Details:
  http://sourceware.org/bugzilla/show_bug.cgi?id=14243
- Fix for systemd service using /usr/lib.

Change-Id: I679161122d4070608176d3865e371902cf06afae

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

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

12 years agoInitial empty repository
Eunkyoung Kim [Fri, 6 Jan 2012 13:00:08 +0000 (22:00 +0900)]
Initial empty repository