platform/upstream/linux-glibc-devel.git
4 years agorandom: introduce getrandom(2) system call 79/229779/1
Dongkyun Son [Fri, 3 Apr 2020 08:28:16 +0000 (17:28 +0900)]
random: introduce getrandom(2) system call

(partially cherry-picked from c6e9d6f38894798696f23c8084ca7edbf16ee895)

Change-Id: Ic2733261ff3187df1744fee1d52a3124d63e63f1
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
4 years ago[asm-arm] add syscall support from 4.10 51/229551/1 accepted/tizen/base/20200403.042712 submit/tizen_base/20200402.020528 submit/tizen_base/20200402.030150 submit/tizen_base/20200402.030221
Dongkyun Son [Wed, 1 Apr 2020 12:32:25 +0000 (21:32 +0900)]
[asm-arm] add syscall support from 4.10

getrandom() was introduced in version 3.17 of the Linux kernel.

Change-Id: I0315630b9f2c3a8ba332bb55320a24334aacf153
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
4 years agoarch: Fixed /usr/include/asm to build 32bit packages on 64bit Linux 04/227904/2 accepted/tizen/base/20200325.053342 submit/tizen_base/20200319.050442
Geunsik Lim [Mon, 9 Mar 2020 11:36:01 +0000 (20:36 +0900)]
arch: Fixed /usr/include/asm to build 32bit packages on 64bit Linux

This commit is to handle a different attribute of CPU architectures
between kernel-space and user-space. For example, the Tizen platform
6.0 consists the ARM64-based Linux kernel and ARM32-based Tizen
platform packages. When the developer want to compile the user-space
software packages to support a ARM32 bit CPU architecture, they meet
an unexpected issue because the 'linux-glibc-devel' package is installed
based on CPU architecture of the Linux kernel on the real target board.

Therefore, we need to improve the compatibility of the user-space software
packages based on 32bit CPU architecture. Let's replace the criteria from
"uname -m" command to "%_arch" macro.

Let's assume that the Tizen 6.0 platform is based on ARM32,
and the Tizen Linux kernel is based on ARM64 bit (arm64/aarch64).

**Changelog**
* Version 3:
  - Removed "BuildArch: noarch" statement to handle correctly different
    architecure attribute of /usr/include/asm (symlink)

* Version 2:
  - Use '_arch' instead of tizen-release package to avoid a build issue
    (Note that this package does not use the Unified repository.)
  - Fixed typos
  - Added annotation for maintenance

* Version 1:
  - Replaced "uname -m" with "/etc/tizen-release"

**Self assessment**
* Checking asm_link variable in the post section
$ rpm -qp --scripts ./linux-glibc-devel-3.10-0.aarch64.rpm | grep asm_link
asm_link=aarch64

$ rpm -qp --scripts ./linux-glibc-devel-3.10-0.armv7l.rpm  | grep asm_link
asm_link=arm

* On Tizen 6.0 (32bit) after this commit: It's incorrect.
sh-3.2# ls -al /usr/include/asm
lrwxrwxrwx 1 root root 7 Mar  4 14:26 /usr/include/asm -> asm-arm64

* On Tizen 6.0 (32bit) after this commit: It's correct.
sh-3.2# ls -al /usr/include/asm
lrwxrwxrwx 1 root root 7 Mar  9 19:38 /usr/include/asm -> asm-arm

Change-Id: I8c25d840d7558db16b6a92c728555ed1c6a24891
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
4 years agoRevert "ARM: Improved CPU handling to build 32bit packages on 64bit Linux" 88/227888/1 accepted/tizen/base/20200318.222443 submit/tizen_base/20200317.053833
Dongkyun Son [Tue, 17 Mar 2020 05:26:49 +0000 (14:26 +0900)]
Revert "ARM: Improved CPU handling to build 32bit packages on 64bit Linux"

This reverts commit d9b4f2a3cf3fbc2996761e7b660caeac64243fec.

Change-Id: Ibebc88a679178bc4dedc2c6fd60f84d8187627b5

4 years agoARM: Improved CPU handling to build 32bit packages on 64bit Linux 87/227087/4 accepted/tizen/base/20200316.043455 submit/tizen_base/20200311.104450
Geunsik Lim [Mon, 9 Mar 2020 11:36:01 +0000 (20:36 +0900)]
ARM: Improved CPU handling to build 32bit packages on 64bit Linux

This commit is to handle a different attribute of CPU architectures
between kernel-space and user-space. For example, the Tizen platform
6.0 consists the ARM64-based Linux kernel and ARM32-based Tizen
platform packages. When the developer want to compile the user-space
software packages to support a ARM32 bit CPU architecture, they meet
an unexpected issue because the 'linux-glibc-devel' package is installed
based on CPU architecture of the Linux kernel on the real target board.

Therefore, we need to improve the compatibility of the user-space software
packages based on 32bit CPU architecture. Let's replace the criteria from
"uname -m" command to "%_arch" macro.

Let's assume that the Tizen 6.0 platform is based on ARM32bit,
and the Tizen Linux kernel is based on ARM64 bit (arm64/aarch64).

**Changelog**
* Version 2:
  - Use '_arch' instead of tizen-release package to avoid a build issue
    (Note that this package does not use the Unified repository.)
  - Fixed typos
  - Added annotation for maintenance

* Version 1:
  - Replaced "uname -m" with "/etc/tizen-release"

**Self assessment**
sh-3.2# cat /etc/tizen-release
Tizen6/Unified 6.0.0 (arm)
VERSION = 6.0.0
CODENAME = Next

* Before this commit: It's incorrect.
sh-3.2# ls -al /usr/include/asm
lrwxrwxrwx 1 root root 7 Mar  4 14:26 /usr/include/asm -> asm-arm64

* After this commit: It's correct.
sh-3.2# ls -al /usr/include/asm
lrwxrwxrwx 1 root root 7 Mar  9 19:38 /usr/include/asm -> asm-arm

Change-Id: I5cb6bf484e2ac789dfdd43497cf85e4d5aea78dd
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
5 years agoInclude kdbus interface header 17/190617/3 accepted/tizen_5.5_base accepted/tizen_5.5_base_mobile_hotfix accepted/tizen_5.5_base_wearable_hotfix tizen_5.5_base tizen_5.5_base_mobile_hotfix tizen_5.5_base_wearable_hotfix tizen_5.5_tv accepted/tizen/5.5/base/20191030.083031 accepted/tizen/5.5/base/mobile/hotfix/20201023.084928 accepted/tizen/5.5/base/wearable/hotfix/20201023.081253 accepted/tizen/base/20181102.125708 submit/tizen_5.5_base/20191030.000001 submit/tizen_5.5_base_mobile_hotfix/20201023.171501 submit/tizen_5.5_base_wearable_hotfix/20201023.155601 submit/tizen_base/20181011.004449 submit/tizen_base/20181022.094719 submit/tizen_base/20181101.054642 tizen_5.5.m2_release
Karol Lewandowski [Mon, 8 Oct 2018 09:59:18 +0000 (11:59 +0200)]
Include kdbus interface header

This commit allows all projects depending on kdbus (glib,
libdbus, libdbuspolicy, systemd) to use one common interface
file. Currently all project needing this header have it
duplicated.

Additionally, it allows to remove file from Apache-2.0
project which cased license conflict.

This commit contains updated kdbus.h.

Change-Id: Ic5b4b45c542aff7d1cab21eb27b066c75d6a8ada
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
9 years agoAArch64 enabling 43/25643/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_3.0.m2_base accepted/tizen_3.0_base accepted/tizen_3.0_ivi accepted/tizen_4.0_base accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable 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.m1_mobile tizen_3.0.m1_tv tizen_3.0.m2_base tizen_3.0_base tizen_3.0_ivi tizen_4.0_base tizen_4.0_tv accepted/tizen/3.0.m2/base/20170104.082001 accepted/tizen/3.0/base/20161028.103021 accepted/tizen/4.0/base/20170811.092842 accepted/tizen/4.0/base/20170828.221201 accepted/tizen/5.0/base/20181101.090730 accepted/tizen/base/20151223.052253 accepted/tizen/ivi/20140905.150042 submit/tizen/20140812.112543 submit/tizen_3.0.m2_base/20170104.073748 submit/tizen_3.0_base/20161028.062323 submit/tizen_4.0_base/20170811.071500 submit/tizen_4.0_base/20170828.000000 submit/tizen_4.0_base/20170828.000001 submit/tizen_5.0_base/20181101.000001 submit/tizen_base/20151223.111112 submit/tizen_common/20140814.021031 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 submit/tizen_ivi/20140902.062742 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release 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 tizen_3.0_ivi_release tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release
Vyacheslav Barinov [Thu, 7 Aug 2014 12:13:05 +0000 (16:13 +0400)]
AArch64 enabling

Change-Id: Iaf450b0382ab68c4eb6b924e52e817d7d007ee77
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
10 years agoUpdate to 3.10 headers 88/8288/1 accepted/tizen/ivi/genivi accepted/tizen/ivi/stable accepted/tizen_generic tizen_3.0.m14.2_ivi tizen_ivi_genivi accepted/tizen/20130912.151814 accepted/tizen/20130912.191415 accepted/tizen/20130912.195436 accepted/tizen/ivi/genivi/20140131.024812 ivi_oct_m2 submit/tizen/20130814.204914 submit/tizen/20130912.090406 submit/tizen_ivi_genivi/20140131.023457 tizen_3.0.m14.2_ivi_release
Anas Nashif [Wed, 14 Aug 2013 20:49:12 +0000 (16:49 -0400)]
Update to 3.10 headers

10 years agoresetting manifest requested domain to floor
Alexandru Cornea [Fri, 28 Jun 2013 23:24:58 +0000 (02:24 +0300)]
resetting manifest requested domain to floor

10 years agoadd missing file
Anas Nashif [Wed, 8 May 2013 19:29:41 +0000 (15:29 -0400)]
add missing file

10 years agoadd missing file
Anas Nashif [Wed, 8 May 2013 19:02:41 +0000 (15:02 -0400)]
add missing file

10 years agocreate directory even if it exists
Anas Nashif [Wed, 8 May 2013 18:38:08 +0000 (14:38 -0400)]
create directory even if it exists

10 years agoremove patches
Anas Nashif [Thu, 8 Nov 2012 03:34:08 +0000 (19:34 -0800)]
remove patches

10 years agoadd packaging
Anas Nashif [Thu, 8 Nov 2012 03:32:34 +0000 (19:32 -0800)]
add packaging

10 years agoUpdate to 3.10 headers upstream/3.10
Anas Nashif [Wed, 14 Aug 2013 16:19:22 +0000 (12:19 -0400)]
Update to 3.10 headers

11 years agoImported Upstream version 3.4 upstream upstream/3.4 upstream/3.4.0
Anas Nashif [Thu, 8 Nov 2012 03:32:33 +0000 (19:32 -0800)]
Imported Upstream version 3.4