Jinhyung Jo [Fri, 12 May 2017 08:25:58 +0000 (17:25 +0900)]
Merge branch 'develop_linux_3.14' into tizen_studio_1.2_p2.3.2
Change-Id: I01496e862af18614b501c9ca4e1d4f98705481b2
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Jinhyung Jo [Fri, 12 May 2017 08:24:45 +0000 (17:24 +0900)]
package: update version (3.14.27)
Change-Id: I1c37ab0e5aede41f9ddde60b41519f1968b9c17b
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
SeokYeon Hwang [Tue, 22 Nov 2016 11:19:33 +0000 (20:19 +0900)]
Merge branch 'develop_linux_3.14' into tizen_studio_1.1_p2.3.2
Change-Id: Ie69083f141ddd48fbb6cba07f1f1542acee59800
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Tue, 22 Nov 2016 09:42:10 +0000 (18:42 +0900)]
package: update version (3.14.26)
Change-Id: Ifa48ceadf10d07c878193479d5bf1ba32c9d2caf
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Tue, 15 Nov 2016 05:32:36 +0000 (14:32 +0900)]
arch: change 32bit kernel extension to x86
Change-Id: Ibb48c1624abe193d8e0620ff8ee2dc5d2f4118bf
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Munkyu Im [Thu, 17 Nov 2016 10:02:07 +0000 (19:02 +0900)]
virtio: wake up interrupt after all messages are added
In case of using multiple message with list,
wake up interrupt should call after all messages are added to list.
Otherwise, synchronization problem can be occurred.
Change-Id: I808f54d8d08267e8038e6fe17187abaaa10edf56
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
(cherry picked from commit
28efc5cf7353c64fb3da97a3d51020769db86ba5)
Jinhyung Jo [Tue, 18 Oct 2016 08:00:08 +0000 (17:00 +0900)]
Merge branch 'develop_linux_3.14' into platform_2.3.2
Change-Id: I27e496ab64e679b12082d40febde2dd095cfd4c0
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Jinhyung Jo [Tue, 18 Oct 2016 07:51:28 +0000 (16:51 +0900)]
package: update version (3.14.25)
Change-Id: I9203421166a90ef678782e371dd93ec245785d5a
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
jinhyung.jo [Tue, 27 Oct 2015 05:42:24 +0000 (14:42 +0900)]
tablet: Bug fix for the kernel command breaking
When getting the display resolution, some parameters are missing.
Because the driver directly uses the address of the kernel command line.
So it copies the kernel command line to temporary buffer and uses it.
And added some modification for the logs.
Change-Id: If8cffbed1cbb81200bf46ade862a5f38e0c3914c
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
(cherry picked from commit
9c4925034c0d3a474c51c7760e7fdd8f3637624c)
jinhyung.jo [Wed, 14 Oct 2015 06:56:34 +0000 (15:56 +0900)]
tablet: Applying the screen size in the driver probing.
The screen size is required when the initializing driver,
in order to apply the correct absolute coordinates of the mouse.
Conflicts:
drivers/maru/maru_virtio_tablet.c
Change-Id: Iaf385d1c482614595de4d82b7d5b434648b67d5d
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
(cherry picked from commit
91bac12b09a68f975a7a7800d9902918886e0751)
SeokYeon Hwang [Tue, 9 Aug 2016 06:22:06 +0000 (15:22 +0900)]
Merge branch 'develop_linux_3.14' into platform_2.3.2
Change-Id: I4689915f5a8fa0b7b1e17f5504f1206993bebe60
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Tue, 9 Aug 2016 06:18:40 +0000 (15:18 +0900)]
package: update version (3.14.24)
Change-Id: If0278c471d5d041a009b8cde56fe8f53a997ab83
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Thu, 4 Aug 2016 04:06:06 +0000 (13:06 +0900)]
sound: include QEMU HDA in to the whilte list
Prevent ac97 clock probing. It reduces kernel loading time considerably.
Change-Id: I8457d01889492415c8f29f13897988f6fe689f8d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
(cherry picked from commit
5092ef0632a5a42a5f7d98e59754ffef2e1a240f)
SeokYeon Hwang [Fri, 29 Jul 2016 05:49:04 +0000 (14:49 +0900)]
Merge branch 'develop_linux_3.14' into platform_2.3.2
Change-Id: If79142019bb9583492c406b102e359c2426055a9
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Fri, 29 Jul 2016 05:17:14 +0000 (14:17 +0900)]
package: update version (3.14.23)
Change-Id: Ie7668c3af57507e3ce646065cbbf9c61b7288f4c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Sooyoung Ha [Wed, 20 Jul 2016 06:13:03 +0000 (15:13 +0900)]
sensor: add pedometer sensor device driver
Change-Id: I284ce56f2f8ea9aa8909e6a3c1be044518f115b9
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Tue, 12 Jul 2016 11:10:55 +0000 (20:10 +0900)]
Merge branch 'develop_linux_3.14' into platform_2.3.2
Change-Id: Ibd9eddda3f52ec401f403ab517fe93e09a479d12
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Tue, 12 Jul 2016 09:22:49 +0000 (18:22 +0900)]
package: update version (3.14.22)
Change-Id: I07e2e13fe1da3905aa9924e00269c225ea91562f
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Tue, 12 Jul 2016 05:59:27 +0000 (14:59 +0900)]
sensor: initialize the virtio sersor structure
Change-Id: Id40ec6491ca92afa3bf31e4a8daaa236e1445082
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
(cherry picked from commit
3ee8d369e1bad2ee4139da5e65bf7a836a375249)
Sooyoung Ha [Thu, 7 Jul 2016 09:20:11 +0000 (18:20 +0900)]
vdpram: modify vdpram char device number
It is fixed so far, it could cause probing error. So I modify it to
choose the major number dynamically. And move it into 'maru' directory.
Change-Id: Ic46e71541f83bd227e03e1c0f17295029d319ba0
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
(cherry picked from commit
38d20d0fef91cfb535697193ad35ff088be1782f)
SeokYeon Hwang [Wed, 6 Jul 2016 04:20:31 +0000 (13:20 +0900)]
package: adjust supported platform version
Change-Id: I7dc77b92c1aadf82826fd7b63670802baa41f682
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Tue, 28 Jun 2016 02:18:19 +0000 (11:18 +0900)]
Merge branch 'develop_linux_3.14' into tizen_2.3.2
Change-Id: Ic4f20de2c688aa8fdb64850e841296394f10e0ef
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Tue, 28 Jun 2016 02:12:12 +0000 (11:12 +0900)]
package: update version (3.14.21)
Change-Id: Idf2ddaa332c4ea6e5077693afe278af32fd275a7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Thu, 23 Jun 2016 04:16:46 +0000 (13:16 +0900)]
rotary: rewrite driver implementation
Change-Id: I734e833ac3b4af76ddb4f9d6a9e06fdbc95049a9
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Wed, 22 Jun 2016 06:17:32 +0000 (15:17 +0900)]
virtio: introduce maru_virtio_device
"maru_virtuo_device" structure and new header include convenient API
for using virtqueue and allocating buffer.
Rewrite hwkey device.
Change-Id: Ic3f4d25ba0cf6616f4f9ded86017378ccc0b8b3a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Sooyoung Ha [Mon, 20 Jun 2016 03:45:08 +0000 (12:45 +0900)]
Merge branch 'develop_linux_3.14' into tizen_2.3.2
Change-ID: I5590119d18b8db15bab8dc5282fb603daf6ee908
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Mon, 20 Jun 2016 03:39:40 +0000 (12:39 +0900)]
package: update version (3.14.20)
Revert nefilter-smack commits.
Change-Id: I35fbe42f281202b17e6420b03098cc52d7b4fffb
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Mon, 20 Jun 2016 02:53:36 +0000 (11:53 +0900)]
Revert "Smack: secmark support for netfilter"
This reverts commit
bfc68eeb399fc6351637b22605e23a4f54e443ec.
Change-Id: Id5128cbd365bdbf7095a026421f03a81ac277960
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Mon, 20 Jun 2016 02:53:15 +0000 (11:53 +0900)]
Revert "Smack: secmark connections"
This reverts commit
6ba4ad7bf7475bb7d4fdf2374d921e0ef7be7f8f.
Change-Id: I5c6fc1260855249e5086a8dfcb6361c949795213
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Mon, 20 Jun 2016 02:52:52 +0000 (11:52 +0900)]
Revert "netfilter: nfnetlink_queue: add security context information"
This reverts commit
62d564c48b2fa0d0598298db97b3e895f0d5343e.
Change-Id: I7c50b00ae41b0dc49c7da148e99af27932c6e29d
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Mon, 20 Jun 2016 02:52:18 +0000 (11:52 +0900)]
Revert "Enable CONFIG_NETFILTER_XT_MARK, CONFIG_NETFILTER_XT_TARGET_AUDIT,"
This reverts commit
32679e5989e5ada559367fd839c58ead737b1cfb.
Change-Id: Id23efadf11ee72ffba98acd624d218a32deb0116
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
SeokYeon Hwang [Thu, 16 Jun 2016 08:18:49 +0000 (17:18 +0900)]
Merge branch 'develop_linux_3.14' into tizen_2.3.2
Change-Id: Ic89e13c9525f7703de18c70ce9bc207963b85d40
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Sooyoung Ha [Thu, 16 Jun 2016 07:28:41 +0000 (16:28 +0900)]
package: update version (3.14.19)
Change-Id: Ia7c883d5fd44057d08abc8ce7147c67dc228ef66
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Thu, 16 Jun 2016 05:42:05 +0000 (14:42 +0900)]
yagl: introduce yagl protocol version
Now yagl driver receives the protocol version from yagl device and send
it to user.
Change-Id: I156efb5a407bf29ef00460478f246b0621916096
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
SeokYeon Hwang [Wed, 15 Jun 2016 08:35:10 +0000 (17:35 +0900)]
input: rewrite virtio touchscreen / keyboard device
Simplified input processing logics.
Used proper virtio APIs.
Change-Id: I24a8564842fbb0d3833c4c2bf21e658c85c00cb0
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Wed, 15 Jun 2016 01:19:22 +0000 (10:19 +0900)]
packaging: remove %bcond_with emulator keyword for SPIN obs
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Sooyoung Ha [Wed, 8 Jun 2016 02:25:35 +0000 (11:25 +0900)]
packaging: modify kernel devel source directory
I modify it to follow the target kernel's naming rule.
Change-Id: I0576345094b4fc62b4d9559cc8d6f9b982e8cb09
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
SeokYeon Hwang [Mon, 6 Jun 2016 07:29:30 +0000 (16:29 +0900)]
Merge branch 'develop' into tizen_2.3.2
Change-Id: I68e68793d55120e5b36ff283b44a7d30db343bd6
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
SeokYeon Hwang [Mon, 6 Jun 2016 07:15:30 +0000 (16:15 +0900)]
package: update version (3.14.18)
Change-Id: Ic77b6336a001374dce3f63faed68b1b145b56633
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Seung-Woo Kim [Fri, 17 Apr 2015 06:25:04 +0000 (15:25 +0900)]
Smack: ignore private inode for smack_file_receive
The dmabuf fd can be shared between processes via unix domain
socket. The file of dmabuf fd is came from anon_inode. The inode
has no set and get xattr operations, so it can not be shared
between processes with smack. This patch fixes just to ignore
private inode including anon_inode for smack_file_receive.
Change-Id: Iedc8901eb119095054f54c261157adb61d8dad30
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Sooyoung Ha [Tue, 24 May 2016 05:39:29 +0000 (14:39 +0900)]
package: update version (3.14.17)
Change-Id: Ifb859efc8e3c49a75ab6a382a5cfe3196ee73bb2
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
SeokYeon Hwang [Wed, 18 May 2016 08:52:16 +0000 (17:52 +0900)]
Merge branch 'tizen' into tizen_3.0_develop
Change-Id: I66e784495cd3cac72f59ee2be2bce2ee43eda937
jin-gyu.kim [Fri, 13 May 2016 08:09:00 +0000 (17:09 +0900)]
Enable CONFIG_NETFILTER_XT_MARK, CONFIG_NETFILTER_XT_TARGET_AUDIT,
CONFIG_NETFILTER_XT_TARGET_NFQUEUE and CONFIG_SECURITY_SMACK_NETFILTER
Change-Id: I6beaf10ed4b00b5176424e57a32090059142e4cd
Roman Kubiak [Fri, 13 May 2016 07:54:43 +0000 (16:54 +0900)]
netfilter: nfnetlink_queue: add security context information
This patch adds an additional attribute when sending
packet information via netlink in netfilter_queue module.
It will send additional security context data, so that
userspace applications can verify this context against
their own security databases.
Change-Id: I1f8e8bea84e05abfc78808f6fccc513aa5bb0a9f
Signed-off-by: Roman Kubiak <r.kubiak@samsung.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Casey Schaufler [Fri, 13 May 2016 07:47:26 +0000 (16:47 +0900)]
Smack: secmark connections
If the secmark is available us it on connection as
well as packet delivery.
Change-Id: I9015304ef62ab9a32c8e7740c5d70bd8842da7eb
Casey Schaufler [Fri, 13 May 2016 07:29:54 +0000 (16:29 +0900)]
Smack: secmark support for netfilter
Smack uses CIPSO to label internet packets and thus provide
for access control on delivery of packets. The netfilter facility
was not used to allow for Smack to work properly without netfilter
configuration. Smack does not need netfilter, however there are
cases where it would be handy.
As a side effect, the labeling of local IPv4 packets can be optimized
and the handling of local IPv6 packets is just all out better.
The best part is that the netfilter tools use contexts that
are just strings, and they work just as well for Smack as they
do for SELinux.
All of the conditional compilation for IPv6 was implemented
by Rafal Krypa <r.krypa@samsung.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
[Jin-gyu Kim: Backported from mainline]
Signed-off-by: Jin-gyu Kim <jin-gyu.kim@samsung.com>
Change-Id: I0b30ccaaca61ebf52c4fb6e128863b156524c1b6
Zbigniew Jasinski [Fri, 13 May 2016 07:15:41 +0000 (16:15 +0900)]
Smack: limited capability for changing process label
This feature introduces new kernel interface:
- <smack_fs>/relabel-self - for setting transition labels list
This list is used to control smack label transition mechanism.
List is set by, and per process. Process can transit to new label only if
label is on the list. Only process with CAP_MAC_ADMIN capability can add
labels to this list. With this list, process can change it's label without
CAP_MAC_ADMIN but only once. After label changing, list is unset.
Changes in v2:
* use list_for_each_entry instead of _rcu during label write
* added missing description in security/Smack.txt
Changes in v3:
* squashed into one commit
Changes in v4:
* switch from global list to per-task list
* since the per-task list is accessed only by the task itself
there is no need to use synchronization mechanisms on it
Changes in v5:
* change smackfs interface of relabel-self to the one used for onlycap
multiple labels are accepted, separated by space, which
replace the previous list upon write
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
[Jin-gyu Kim: Backported from mainline]
Signed-off-by: Jin-gyu Kim <jin-gyu.kim@samsung.com>
Change-Id: I4d50ca43463fe38184aa56ae3f275508eb60365b
Sooyoung Ha [Wed, 20 Apr 2016 09:43:03 +0000 (18:43 +0900)]
packging: build headers package only for emulator
This package is for emulator. It could cause a build error or conflict
if we build this out of emulator repository. So we should build this
conditionally to prevent build failure.
Change-Id: Iefef5fa2365a045bc0e4eb473c0dd0b689454a40
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Wed, 20 Apr 2016 09:43:03 +0000 (18:43 +0900)]
packging: build headers package only for emulator
This package is for emulator. It could cause a build error or conflict
if we build this out of emulator repository. So we should build this
conditionally to prevent build failure.
Change-Id: Iefef5fa2365a045bc0e4eb473c0dd0b689454a40
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
SeokYeon Hwang [Wed, 20 Apr 2016 02:45:40 +0000 (11:45 +0900)]
Merge branch 'tizen_spin' into tizen
Change-Id: Ie017deba0436825f723144e1b65eebb4011e6fb5
SeokYeon Hwang [Wed, 20 Apr 2016 02:44:04 +0000 (11:44 +0900)]
Merge branch 'tizen' into tizen_spin
Jinhyung Jo [Tue, 8 Mar 2016 08:10:05 +0000 (17:10 +0900)]
package: update version (3.14.16)
Change-Id: I2ef10eafd3fb476b8574a3c4bdcc0a99729d4577
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Jinhyung Jo [Thu, 3 Mar 2016 09:05:34 +0000 (18:05 +0900)]
maru-tablet: improve use of virtio queue
Reduce the buffer size & the scatterlist size.
The size of tablet event is not large.
In addition, the number of generated event is not much.
So only use actually written value.
And fix the incorrect use of the virtio queue.
Change-Id: I9cf1f2cad8cd9f9b6e0ef7783beec48df4c48748
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Jinhyung Jo [Tue, 23 Feb 2016 08:16:16 +0000 (17:16 +0900)]
rotary: correct use of virtioqueue to fix bug
When using the rotary device, the segmentation fault occurs in the host.
Its cause is due to use the virtioqueue in the wrong way.
So correct with the host side.
Change-Id: Ib9143a6ccaa6dff2778ce5e71984b2e673e4912f
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
(cherry picked from commit
deb6addb80d83ba75baaa32e2becd13266c3bb7c)
Jinhyung Jo [Tue, 23 Feb 2016 05:28:43 +0000 (14:28 +0900)]
maru_inputs: correct argument for virtioqueue
The fourth argument of the virtqueue_add_inbuf() is a 'data' token
handled to virtqueue_get_buf().
So change to clear targets instead of constant values typecasted.
Change-Id: Ibc3aef906568cff4e9a2b809d72c1eb0c15b73cf
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
(cherry picked from commit
8a5e857387d3e1106c22f239e7f898658c01dbc2)
Jinhyung Jo [Thu, 3 Mar 2016 07:40:06 +0000 (16:40 +0900)]
package: update version (3.14.13)
Change-Id: Ibc0b7242a0fc7e52a5a440b9780ed66c310625e1
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Jinhyung Jo [Wed, 2 Mar 2016 09:20:59 +0000 (18:20 +0900)]
package: update version (3.14.15)
Change-Id: I11bbb01678a5f1ed6bcdf950510c087efe2e7f98
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Jinhyung Jo [Tue, 23 Feb 2016 08:16:16 +0000 (17:16 +0900)]
rotary: correct use of virtioqueue to fix bug
When using the rotary device, the segmentation fault occurs in the host.
Its cause is due to use the virtioqueue in the wrong way.
So correct with the host side.
Change-Id: Ib9143a6ccaa6dff2778ce5e71984b2e673e4912f
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Roman Kubiak [Thu, 17 Dec 2015 12:24:35 +0000 (13:24 +0100)]
Smack: type confusion in smak sendmsg() handler
Smack security handler for sendmsg() syscall
is vulnerable to type confusion issue what
can allow to privilege escalation into root
or cause denial of service.
A malicious attacker can create socket of one
type for example AF_UNIX and pass is into
sendmsg() function ensuring that this is
AF_INET socket.
Remedy
Do not trust user supplied data.
Proposed fix below.
Change-Id: I6d8b3a3eb9560c0e6d6bfef59e56d6ec659e2d3d
Signed-off-by: Roman Kubiak <r.kubiak@samsung.com>
Signed-off-by: Mateusz Fruba <m.fruba@samsung.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
[Backport from linux-next of v4.5-rc]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
(cherry picked from commit
1b2b4d7c1b75ba28133e76296f7ff2d5c7e51d07)
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Casey Schaufler [Mon, 7 Dec 2015 22:34:32 +0000 (14:34 -0800)]
Smack: File receive for sockets
The existing file receive hook checks for access on
the file inode even for UDS. This is not right, as
the inode is not used by Smack to make access checks
for sockets. This change checks for an appropriate
access relationship between the receiving (current)
process and the socket. If the process can't write
to the socket's send label or the socket's receive
label can't write to the process fail.
This will allow the legitimate cases, where the
socket sender and socket receiver can freely communicate.
Only strangly set socket labels should cause a problem.
Change-Id: Id37df53243264ac843f9c6693ba99aba9779f05e
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
[backport to 3.10 from smack-next commit
79be093500791cc25cc31bcaec5a4db62e21497b]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
(cherry picked from commit
4306b30a4c4c787144fb7ff71ffe44799c9386dd)
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Roman Kubiak [Mon, 5 Oct 2015 10:27:16 +0000 (12:27 +0200)]
Smack: pipefs fix in smack_d_instantiate
This fix writes the task label when
smack_d_instantiate is called, before the
label of the superblock was written on the
pipe's inode.
Change-Id: I3d4fcf5b8e652d6f2abfe5ef0dfd96306f2c8219
Signed-off-by: Roman Kubiak <r.kubiak@samsung.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
(cherry picked from commit
ad52be06a2cf0dc547008c811577d0a5a1b3053b)
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Łukasz Stelmach [Tue, 16 Dec 2014 15:53:08 +0000 (16:53 +0100)]
smack: introduce a special case for tmpfs in smack_d_instantiate()
Files created with __shmem_file_stup() appear to have somewhat fake
dentries which make them look like root directories and not get
the label the current process or ("*") star meant for tmpfs files.
Change-Id: Id97004f2a5090cee9c16778109d849d433bd39c9
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
(cherry picked from commit
7141e6be730e637255b1c75789ca67d309cbce95)
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Jinhyung Jo [Tue, 23 Feb 2016 05:28:43 +0000 (14:28 +0900)]
maru_inputs: correct argument for virtioqueue
The fourth argument of the virtqueue_add_inbuf() is a 'data' token
handled to virtqueue_get_buf().
So change to clear targets instead of constant values typecasted.
Change-Id: Ibc3aef906568cff4e9a2b809d72c1eb0c15b73cf
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Khem Raj [Fri, 22 May 2015 16:56:29 +0000 (09:56 -0700)]
Input: sentelic - use "static inline" instead of "inline"
gcc-5 defaults to gnu11 which used c99 inline semantics in c99 'inline' is
not externally visible unlike gnu89, therefore we use 'static inline' which
has same semantics between gnu89 and c99
Change-Id: I0ed40faba9f9148b220b125e1c9798c9313d0d72
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Sooyoung Ha [Wed, 27 Jan 2016 08:06:59 +0000 (17:06 +0900)]
package: update version (3.14.14)
Change-Id: I15906d50e0248ea6a038573f64e3fc0c24064cff
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
sungmin ha [Thu, 21 Jan 2016 07:51:30 +0000 (16:51 +0900)]
camera: support PAT
PAT (Page Attribute Table) allows for different types of memory attributes.
We modified APIs about PAT from non-cached to write-combined.
Change-Id: Ifa15061098b58a3f305fe692ba244fec4e2604e6
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
(cherry picked from commit
e13e3c5ae5c7b0e9d10152375fc0551023e0b763)
Vasiliy Ulyanov [Wed, 9 Dec 2015 14:00:38 +0000 (17:00 +0300)]
x86, pat: workaround to force PAT usage
When run under haxm certain CPU features appear inaccesible from guest
and at the moment there seems to be no proper way to set them up from the
host side. The patch allows to forcefully enable x86 Page Attribute
Table and therefore use different memory caching policies at the page
level granularity. PAT significantly improves performance when mmaped
device buffers are accessed.
WARNING: once a proper solution is figured out for haxm case the patch
should be reverted. Currently it is more like a hack to avoid terrible
performance on certain scenarios like decoding high resolution video
directly into the mmaped video buffer.
Change-Id: Ie810a29d61379e57ed10efc0697f9fc010f85f33
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
(cherry picked from commit
7aaf8838c358d7e745727e0281ae3acbd9e81afd)
Vasiliy Ulyanov [Wed, 9 Dec 2015 13:54:15 +0000 (16:54 +0300)]
VIGS: use write-combine caching for video memory
x86 PAT + write-combine should improve performance when
mmaped gems are directly accessed by CPU.
Change-Id: I4fcb41c207161f87a3f3d9ee60f773675c5f028d
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
(cherry picked from commit
d89f3c6e059c6f51a5dd9945f2fb58b1fdff76c2)
sungmin ha [Thu, 21 Jan 2016 07:51:30 +0000 (16:51 +0900)]
camera: support PAT
PAT (Page Attribute Table) allows for different types of memory attributes.
We modified APIs about PAT from non-cached to write-combined.
Change-Id: Ifa15061098b58a3f305fe692ba244fec4e2604e6
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
Vasiliy Ulyanov [Wed, 9 Dec 2015 14:00:38 +0000 (17:00 +0300)]
x86, pat: workaround to force PAT usage
When run under haxm certain CPU features appear inaccesible from guest
and at the moment there seems to be no proper way to set them up from the
host side. The patch allows to forcefully enable x86 Page Attribute
Table and therefore use different memory caching policies at the page
level granularity. PAT significantly improves performance when mmaped
device buffers are accessed.
WARNING: once a proper solution is figured out for haxm case the patch
should be reverted. Currently it is more like a hack to avoid terrible
performance on certain scenarios like decoding high resolution video
directly into the mmaped video buffer.
Change-Id: Ie810a29d61379e57ed10efc0697f9fc010f85f33
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
(cherry picked from commit
7aaf8838c358d7e745727e0281ae3acbd9e81afd)
Vasiliy Ulyanov [Wed, 9 Dec 2015 13:54:15 +0000 (16:54 +0300)]
VIGS: use write-combine caching for video memory
x86 PAT + write-combine should improve performance when
mmaped gems are directly accessed by CPU.
Change-Id: I4fcb41c207161f87a3f3d9ee60f773675c5f028d
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
(cherry picked from commit
d89f3c6e059c6f51a5dd9945f2fb58b1fdff76c2)
ChulHo Song [Wed, 23 Sep 2015 08:50:54 +0000 (17:50 +0900)]
sensor: modify the proximity value appropriately
Change-Id: I84e0a5690eca420e221da35c1c7aac463504c0a3
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
(cherry picked from commit
7aa00ee546292b2ee02d90493d8226c2a358f4f3)
Sooyoung Ha [Fri, 8 Jan 2016 07:36:33 +0000 (16:36 +0900)]
packging: build header package only for emulator
This package is for emulator. It could cause a build error or conflict
if we build this out of emulator repository. So we should build this
conditionally to prevent build failure.
Change-Id: Ie85564289c0c97774fb45685239e5f8bda7ca00f
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Thu, 24 Dec 2015 08:58:50 +0000 (17:58 +0900)]
packaging: modify spec file to build header package
Change-Id: I0ab956dc139cf7cff15804694778b247fdcdf012
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Jinhyung Jo [Mon, 23 Nov 2015 01:56:08 +0000 (10:56 +0900)]
package: update version (3.14.13)
Change-Id: Icf1d1cc73e2d596de546377249e947395d0867bb
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Jinhyung Jo [Fri, 20 Nov 2015 09:18:16 +0000 (18:18 +0900)]
package: update version (3.14.12)
Change-Id: Ib3605a78ea0d3df79c2577fbd5c59a9eb9346109
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
jinhyung.jo [Fri, 4 Sep 2015 03:19:17 +0000 (12:19 +0900)]
VIGS: Correct the physical screen size
Use the correct value instead multiplied by 10.
Change-Id: I7f3145c6d7700f39b15b6890b7048044a9ef4c26
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
(cherry picked from commit
90b49e93c265b1d88e047f20705cc8f0f48a75fd)
jinhyung.jo [Fri, 4 Sep 2015 03:19:17 +0000 (12:19 +0900)]
VIGS: Correct the physical screen size
Use the correct value instead multiplied by 10.
Change-Id: I7f3145c6d7700f39b15b6890b7048044a9ef4c26
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
Khem Raj [Fri, 22 May 2015 16:56:29 +0000 (09:56 -0700)]
Input: sentelic - use "static inline" instead of "inline"
gcc-5 defaults to gnu11 which used c99 inline semantics in c99 'inline' is
not externally visible unlike gnu89, therefore we use 'static inline' which
has same semantics between gnu89 and c99
Change-Id: I0ed40faba9f9148b220b125e1c9798c9313d0d72
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
jinhyung.jo [Mon, 9 Nov 2015 07:37:18 +0000 (16:37 +0900)]
package: modify build script & pkginfo.manifest
update the directory of the platform version.
remove the build code related to the ARM architecture.
Change-Id: If538b2b2b9fa185d5d3b35659089f197292fe3fb
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
jinhyung.jo [Mon, 9 Nov 2015 05:42:40 +0000 (14:42 +0900)]
package: change platform version
From the tizen_2.4 to the tizen_2.3.2
Change-Id: I96a1dba43bb35bf5b25c6450d88aaf5e8c59d821
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
jinhyung.jo [Fri, 6 Nov 2015 05:24:14 +0000 (14:24 +0900)]
package: version up(3.14.12)
version update to 3.14.12
Change-Id: Idbe2052c995d01617ba512c88aadd6c0da739a54
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
jinhyung.jo [Fri, 6 Nov 2015 05:16:54 +0000 (14:16 +0900)]
YaGL: Version bump
For the 64bit addressing.
Be sure synchronize with the QEMU & platform yagl packages.
Change-Id: I9ba3b5c58481999b47212eabb68221580226e690
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
SeokYeon Hwang [Wed, 21 Oct 2015 08:51:00 +0000 (17:51 +0900)]
build: clean DIBS build scripts up
Remove some redundant scripts.
Linux kernel can be compiled both 32 bit and 64 bit linux host. So,
extension of script can be ".linux".
Change-Id: I97aacfad1fc94ba95e1c5d837d055bd1b5139876
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
ChulHo Song [Wed, 23 Sep 2015 08:50:54 +0000 (17:50 +0900)]
sensor: modify the proximity value appropriately
Change-Id: I84e0a5690eca420e221da35c1c7aac463504c0a3
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
Munkyu Im [Fri, 18 Sep 2015 06:46:57 +0000 (15:46 +0900)]
config: ready for vhost-net
Vhost-net provides virtio device emulation on host.
Linux kernel needs to enable Message Signaled Interrupt(MSI)
to handle this device emulation code on guest.
(http://www.linux-kvm.org/page/UsingVhost)
Change-Id: I419b718b2591c0574483c77027a3f54af594113a
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
SeokYeon Hwang [Thu, 10 Sep 2015 06:46:25 +0000 (15:46 +0900)]
Merge branch 'tizen_2.4_develop' into tizen_3.0_develop
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Change-Id: I723188c29b751843acc06e848f6d2fa129a5e8c3
bk0121.shin [Wed, 9 Sep 2015 10:46:13 +0000 (19:46 +0900)]
audio: support extension build for intel8x0 driver
Change-Id: Iee2b6da786bc6a2846426c19d85af71b331d6e99
Signed-off-by: bk0121.shin <bk0121.shin@samsung.com>
Jinhyung Choi [Fri, 28 Aug 2015 04:14:50 +0000 (13:14 +0900)]
Revert "VIGS: Temporary W/A for the extension"
This reverts commit
e915d17c9296e93456f2c30ae4715a207e40bc01.
Change-Id: Ie54023e2e8237c6d56790716a14dc32a308d6308
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
Roman Kubiak [Mon, 24 Aug 2015 07:34:11 +0000 (16:34 +0900)]
Kernel threads excluded from smack checks
Adds an ignore case for kernel tasks,
so that they can access all resources.
Since kernel worker threads are spawned with
floor label, they are severely restricted by
Smack policy. It is not an issue without onlycap,
as these processes also run with root,
so CAP_MAC_OVERRIDE kicks in. But with onlycap
turned on, there is no way to change the label
for these processes.
Change-Id: Ic0b9c0d9d5874f0299e0aba74d01c180e2722d48
Signed-off-by: Roman Kubiak <r.kubiak@samsung.com>
Roman Kubiak [Mon, 24 Aug 2015 07:34:11 +0000 (16:34 +0900)]
Kernel threads excluded from smack checks
Adds an ignore case for kernel tasks,
so that they can access all resources.
Since kernel worker threads are spawned with
floor label, they are severely restricted by
Smack policy. It is not an issue without onlycap,
as these processes also run with root,
so CAP_MAC_OVERRIDE kicks in. But with onlycap
turned on, there is no way to change the label
for these processes.
Change-Id: Ic0b9c0d9d5874f0299e0aba74d01c180e2722d48
Signed-off-by: Roman Kubiak <r.kubiak@samsung.com>
Vasiliy Ulyanov [Mon, 17 Aug 2015 14:07:37 +0000 (17:07 +0300)]
VIGS: change min dpi constraint
This is a workaround for output phys dimensions computation. In some
cases we need a smaller dpi in order to make Xorg calculate display
coordinates properly.
Change-Id: I40b7215d1aefcc7e63a98239501a937466ac5579
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Sooyoung Ha [Wed, 19 Aug 2015 13:03:52 +0000 (22:03 +0900)]
package: version up
version update to 3.14.10
Change-Id: I7ef0ec4698c1f41c96bf185ad28b785f07c19d89
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Wed, 19 Aug 2015 13:00:05 +0000 (22:00 +0900)]
package: version up
version update to 3.14.10
Change-Id: I621a5b01bd35a3eb7fe43414729fe7d3126908c2
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
SeokYeon Hwang [Wed, 19 Aug 2015 07:26:09 +0000 (16:26 +0900)]
Merge branch 'tizen_2.4_develop' into tizen_3.0_develop
Change-Id: I9dad6217804fbe612b54889499ecc527b3812e0e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Sooyoung Ha [Mon, 3 Aug 2015 06:00:09 +0000 (15:00 +0900)]
package: version up
version update to 3.14.8
Change-Id: Iafb2ef3752cbfcc261e28f60b01c5af3df27b4d4
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
Sooyoung Ha [Mon, 3 Aug 2015 05:45:02 +0000 (14:45 +0900)]
package: modify pkginfo.manifest file
modify platform version 2.4 -> 3.0
Change-Id: I15bb78a08a41c2f5d5f314d2504d38bc5e4fc8c5
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
sungmin ha [Thu, 30 Jul 2015 03:09:09 +0000 (12:09 +0900)]
tablet: added input buffer to virtqueue
Change-Id: I279e54dba3405fc0659de93540e5066715f4762d
Signed-off-by: sungmin ha <sungmin82.ha@samsung.com>
jinhyung.jo [Wed, 29 Jul 2015 07:53:42 +0000 (16:53 +0900)]
VIGS: Temporary W/A for the extension
For the extension booting, modified the version of vigs drm.
This should be removed when the proper extension image is released.
Change-Id: I94e424f76212a228e273418b21143c818a1fa1b9
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
bk0121.shin [Wed, 29 Jul 2015 06:00:35 +0000 (15:00 +0900)]
tuner: separate dvb_frontend build for tv extension
Change-Id: I121033a9834a738bb866b0b07649805287f28674
Signed-off-by: bk0121.shin <bk0121.shin@samsung.com>