platform/core/connectivity/smartcard-service.git
11 years agoFix .service and install it into dbus system service directory 68/11068/1
Chengwei Yang [Thu, 17 Oct 2013 08:53:56 +0000 (16:53 +0800)]
Fix .service and install it into dbus system service directory

In Tizen 3.0, dbus will running with an unprivileged user 'dbus' and use
an setuid servicehelper to activate system service, which should be
installed into the system-service directory if it provides system wide
service, and "User=" field is must to have to servicehelper.

Bug: https://bugs.tizen.org/jira/browse/PTREL-124
Change-Id: Ibff4a08e185e46033673cec48416f9f6866b04f3
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agofix header dependency 90/10290/1 accepted/tizen/ivi/stable accepted/tizen_ivi_release tizen_ivi_release accepted/tizen/20130926.103420 accepted/tizen/20130926.191009 accepted/tizen/20130926.204307 accepted/tizen/generic/20140228.075931 accepted/tizen/generic/20140312.093133 accepted/tizen/ivi/20140227.222159 accepted/tizen/ivi/panda/20140312.104117 accepted/tizen/ivi/release/20140312.124240 accepted/tizen/mobile/20140303.023247 accepted/tizen_ivi_stable/20131119.040335 submit/tizen/20130926.095810 submit/tizen/20140227.200600 submit/tizen/20140312.070657 submit/tizen_ivi_release/20140312.071133 submit/tizen_ivi_stable/20131119.035333
Youngjae Shin [Thu, 26 Sep 2013 09:53:44 +0000 (18:53 +0900)]
fix header dependency

Change-Id: I190546e34fbc788165980a3023a66052cd2acbbb

11 years agorevise exported headers and cleanup headers 87/10287/2 submit/tizen/20130926.094634
Youngjae Shin [Thu, 26 Sep 2013 08:53:39 +0000 (17:53 +0900)]
revise exported headers and cleanup headers

Change-Id: Ic71fe2a51345f1dec9696294ad598d7090a40cbe

11 years agocode cleanup and fix build problems 64/9964/3 accepted/tizen/ivi/genivi tizen_ivi_genivi accepted/tizen/20130913.122512 accepted/tizen/20130913.185449 accepted/tizen/20130913.185733 accepted/tizen/20130913.185849 accepted/tizen/ivi/genivi/20140213.210740 submit/tizen/20130913.110000 submit/tizen_ivi_genivi/20140213.210928
Youngjae Shin [Thu, 12 Sep 2013 04:51:12 +0000 (13:51 +0900)]
code cleanup and fix build problems

Change-Id: Iadd55f6faa0a33fe020693df1e450d4aaa9d7a5a

11 years agoRemove legacy codes 63/9963/2
Wonkyu Kwon [Thu, 5 Sep 2013 11:48:41 +0000 (20:48 +0900)]
Remove legacy codes

Change-Id: Ie0db3901a0008163d38a361b520a3dbf442b4375

11 years agoGive delay when client request shutting down 62/9962/1
Wonkyu Kwon [Thu, 5 Sep 2013 11:29:29 +0000 (20:29 +0900)]
Give delay when client request shutting down

Change-Id: I40ad6908b339a9ff1ecff5920ee547ac6e3246ee

11 years agoMerge local branch into tizen accepted/tizen/20130912.185847 accepted/tizen/20130912.194034 accepted/tizen/20130913.025052 submit/tizen/20130912.080408 submit/tizen/20130912.090707
Youngjae Shin [Thu, 12 Sep 2013 03:10:32 +0000 (12:10 +0900)]
Merge local branch into tizen

Conflicts:
CMakeLists.txt
client/CMakeLists.txt
client/ClientChannel.cpp
client/ClientDispatcher.cpp
client/ClientIPC.cpp
client/Reader.cpp
client/SEService.cpp
client/Session.cpp
client/include/ClientChannel.h
client/include/ClientDispatcher.h
client/include/ClientIPC.h
client/include/Reader.h
client/include/SEService.h
client/include/Session.h
common/APDUHelper.cpp
common/AccessCondition.cpp
common/AccessControlList.cpp
common/ByteArray.cpp
common/CMakeLists.txt
common/DispatcherHelper.cpp
common/EFDIR.cpp
common/FCI.cpp
common/FileObject.cpp
common/IPCHelper.cpp
common/ISO7816BERTLV.cpp
common/Message.cpp
common/NumberStream.cpp
common/OpensslHelper.cpp
common/PKCS15.cpp
common/PKCS15DODF.cpp
common/PKCS15ODF.cpp
common/PKCS15OID.cpp
common/PKCS15Object.cpp
common/PKCS15Path.cpp
common/PKCS15TokenInfo.cpp
common/SignatureHelper.cpp
common/SimpleTLV.cpp
common/TLVHelper.cpp
common/include/APDUHelper.h
common/include/AccessCondition.h
common/include/AccessControlList.h
common/include/ByteArray.h
common/include/Channel.h
common/include/Debug.h
common/include/DispatcherHelper.h
common/include/DispatcherMsg.h
common/include/EFDIR.h
common/include/Exception.h
common/include/FCI.h
common/include/FileObject.h
common/include/IPCHelper.h
common/include/ISO7816BERTLV.h
common/include/Message.h
common/include/NumberStream.h
common/include/OpensslHelper.h
common/include/PKCS15.h
common/include/PKCS15DODF.h
common/include/PKCS15ODF.h
common/include/PKCS15OID.h
common/include/PKCS15Object.h
common/include/PKCS15Path.h
common/include/PKCS15TokenInfo.h
common/include/ProviderHelper.h
common/include/ReaderHelper.h
common/include/Record.h
common/include/SEServiceHelper.h
common/include/Serializable.h
common/include/SessionHelper.h
common/include/SignatureHelper.h
common/include/SimpleTLV.h
common/include/TLVHelper.h
common/include/Terminal.h
packaging/smartcard-service.spec
server/CMakeLists.txt
server/ClientInstance.cpp
server/ServerChannel.cpp
server/ServerDispatcher.cpp
server/ServerIPC.cpp
server/ServerReader.cpp
server/ServerResource.cpp
server/ServerSEService.cpp
server/ServerSession.cpp
server/ServiceInstance.cpp
server/include/ClientInstance.h
server/include/ServerChannel.h
server/include/ServerDispatcher.h
server/include/ServerIPC.h
server/include/ServerReader.h
server/include/ServerResource.h
server/include/ServerSEService.h
server/include/ServerSession.h
server/include/ServiceInstance.h
server/org.tizen.smartcard_service.service
server/smartcard-daemon.cpp
test-client/CMakeLists.txt
test-client/test-client-sync.cpp
test-client/test-client.cpp

Change-Id: Id1dee9e43f2d75752a75dccae9e7e3a8c70b5775

11 years agoRemove debian packaging stuff 10/8610/1
Chengwei Yang [Sun, 25 Aug 2013 02:49:33 +0000 (10:49 +0800)]
Remove debian packaging stuff

Change-Id: Ib4d17d8ccefa3a580f1603b521c9f4eea14a6eb4
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agoTemporary disable user space smack
Wonkyu Kwon [Wed, 24 Jul 2013 08:39:28 +0000 (17:39 +0900)]
Temporary disable user space smack

Change-Id: I9a2bcbfd76c50e68edffaeb3bd968c942ff96d29

11 years agoRemove unused code
Wonkyu Kwon [Wed, 24 Jul 2013 08:34:05 +0000 (17:34 +0900)]
Remove unused code

Change-Id: If662e14618f5297b7b99a748951de169d2a9058c

11 years agoFix the Prevent problems
Wonkyu Kwon [Wed, 24 Jul 2013 07:20:52 +0000 (16:20 +0900)]
Fix the Prevent problems

[model] Redwood
[binary_type] AP
[customer] Open
[issue#] too many
[problem] from the Prevent
[cause] N/A
[solution] Fix the Prevent issue
[team] NFC
[request] N/A
[horizontal_expansion] N/A

Change-Id: I8a9633a3546a0ef1f31424febd5733433acdf518

11 years agoChange the function type of 'getChannelCount'
Wonkyu Kwon [Tue, 23 Jul 2013 11:20:06 +0000 (20:20 +0900)]
Change the function type of 'getChannelCount'

Change-Id: I7a94042f71570ccc153857736d9b2097471c6588

11 years agoUpdate repository with private 0.1.22
Wonkyu Kwon [Tue, 23 Jul 2013 06:36:01 +0000 (15:36 +0900)]
Update repository with private 0.1.22

Change-Id: I71ed3c8f186ee720ca24969bb9c8b9892585cb1e

11 years agoMinor fix
Wonkyu Kwon [Mon, 22 Jul 2013 06:38:18 +0000 (15:38 +0900)]
Minor fix

 - adjust exit function
 - adjust inline function

Change-Id: I9a7627f5c5d5d1087b90ad1f39659147b95cb96b

11 years agoModify user space smack
Wonkyu Kwon [Mon, 22 Jul 2013 05:31:32 +0000 (14:31 +0900)]
Modify user space smack

 - remove passing cookie by parameter.
 - use security_server_check_privilege_by_pid

Change-Id: I12f6534efdfdea6791345de32091d45b052ce9d5

11 years agoFix problems
Wonkyu Kwon [Fri, 19 Jul 2013 06:54:05 +0000 (15:54 +0900)]
Fix problems

 - fix TLVHelper is not clear old member values.
 - fis wrong callback assigned.

Change-Id: I96afe568afd66c74fa62fa4968735b8f9fda2159

11 years agoApply user space smack, step 1
Wonkyu Kwon [Tue, 23 Jul 2013 06:45:58 +0000 (15:45 +0900)]
Apply user space smack, step 1

Change-Id: Idc828cac02c4212267060cdfd98e35d61c62d27f

11 years agoEnsure mutual-exclusive of each client requests.
Wonkyu Kwon [Thu, 18 Jul 2013 06:26:40 +0000 (15:26 +0900)]
Ensure mutual-exclusive of each client requests.

 - use queue/dispatche scheme

Change-Id: I017c8f709f525465c91fc95463b861c9302ce0fc

11 years agoFix getBuffer problem.
Wonkyu Kwon [Thu, 18 Jul 2013 06:26:30 +0000 (15:26 +0900)]
Fix getBuffer problem.

Change-Id: Ifc0a4bf3493c86e1936e35a04e9b5f20395056a1

11 years agoMinor change
Wonkyu Kwon [Wed, 24 Jul 2013 08:31:21 +0000 (17:31 +0900)]
Minor change

 - assign qualifier for managing instance strictly
 - rename some methods of ByteArray
 - use c++ header

Change-Id: I31b8b9f6d8934e168f7112a7e29be5bde3fa9cc4

11 years agoAdd getPackageName method
Wonkyu Kwon [Fri, 5 Jul 2013 07:05:49 +0000 (16:05 +0900)]
Add getPackageName method

Change-Id: I80171faf4a67f8ff62d622d6edadda40947b0897

11 years agoMore changes about using gdbus
Wonkyu Kwon [Tue, 23 Jul 2013 06:44:28 +0000 (15:44 +0900)]
More changes about using gdbus

 - disable unused codes.
 - implement emitting signal code.

Change-Id: I0d74c8e2ac3b95741a9e32cbc0766eb82130a464

11 years agoFix not working access control
Wonkyu Kwon [Wed, 3 Jul 2013 12:53:14 +0000 (21:53 +0900)]
Fix not working access control

 - declare virtual function for some overriding function.
 - fix the access control instance is passed null.
 - adjust log format
 - get rid of a parameter no longer used.

Change-Id: I1baec4cbe898cbb4853ab25c7296759877c330b4

11 years agoAdd manifest for appinfo
Wonkyu Kwon [Wed, 3 Jul 2013 12:49:41 +0000 (21:49 +0900)]
Add manifest for appinfo

Change-Id: Ic6e141d44e23118e50f6ecd3a8ca628082fd808c

11 years agouse gdbus
Wonkyu Kwon [Mon, 17 Jun 2013 04:19:34 +0000 (13:19 +0900)]
use gdbus

Change-Id: I1500905604c9cba9801c3c6770e454a367ae173b

11 years agoChange to use handle instead of context parameter
Wonkyu Kwon [Mon, 17 Jun 2013 05:58:41 +0000 (14:58 +0900)]
Change to use handle instead of context parameter

Change-Id: I529959a2365f494aa72dd9a910956c4ba4a3645b

11 years agoImplement Access Control Enforcer using ARA
Wonkyu Kwon [Wed, 24 Jul 2013 08:26:34 +0000 (17:26 +0900)]
Implement Access Control Enforcer using ARA

Change-Id: Ieb085b3125f682a7e6c6292c9074a28dd75dc7a6

11 years agoError code was changed
SangSoo Lee [Thu, 30 May 2013 11:04:42 +0000 (20:04 +0900)]
Error code was changed

[model] Redwood45LTE-EUR-ORA
[binary_type] AP
[customer] N/A
[issue#] Internal Issues
[problem] For wep api TC, error enum value change
[cause] It uses wrong enum value
[team] NFC
[horizontal_expansion] N/A

Change-Id: Ia091394a6bc82f52041256144e6138c68180cce6

11 years agoRedwood [binary_type] AP [customer] All [issue#] N/A [problem] Some processes cannot...
Wonkyu Kwon [Thu, 30 May 2013 02:44:39 +0000 (11:44 +0900)]
Redwood [binary_type] AP [customer] All [issue#] N/A [problem] Some processes cannot initialize with nfc [cause] Wrong written rule [solution] Fix a smack rule [team] NFC [request] N/A [horizontal_expansion] N/A

Change-Id: I42fad281a771d4ff623a17386c5d83ade0575dad

11 years agoFix checking error value
Wonkyu Kwon [Tue, 28 May 2013 06:23:32 +0000 (15:23 +0900)]
Fix checking error value

Change-Id: I0dd9c4c549f93284bbba2172ae884538dffb1938

11 years agoFix a crash problem
Wonkyu Kwon [Mon, 27 May 2013 08:35:16 +0000 (17:35 +0900)]
Fix a crash problem

Change-Id: I791fdf45df39b5cfc31386b0d7abc1266c7ee998

11 years agoFix to store the select response
Wonkyu Kwon [Wed, 22 May 2013 10:38:48 +0000 (19:38 +0900)]
Fix to store the select response

Change-Id: Icf3fcb1a9084302022d14ddac87c3d7d30af620f

11 years agoReturn status word instead of negative error value
Wonkyu Kwon [Wed, 22 May 2013 05:35:25 +0000 (14:35 +0900)]
Return status word instead of negative error value

Change-Id: Iad873372927da497c910b0c1e5ceff9371529671

11 years agoRemove storing select response every select command
Wonkyu Kwon [Wed, 22 May 2013 04:58:34 +0000 (13:58 +0900)]
Remove storing select response every select command

 - store select response only when channel is opened.

Change-Id: Ibef945e9b60fdc270a50ec93cd4d2f5fa3f5d9bf

11 years agoFix memory leaks
Wonkyu Kwon [Wed, 22 May 2013 04:54:59 +0000 (13:54 +0900)]
Fix memory leaks

 - free message in g_source callback

Change-Id: I0bcb25ee8135390774080484f19e3c442e692495

11 years agoAdjust logging level
Wonkyu Kwon [Wed, 24 Jul 2013 08:25:17 +0000 (17:25 +0900)]
Adjust logging level

 - change logging level
 - correct spelling

Change-Id: I01bebf873e9601f196759da8efd11dd681b7dd60

11 years agoChange log macro
Wonkyu Kwon [Wed, 24 Jul 2013 08:24:40 +0000 (17:24 +0900)]
Change log macro

Change-Id: Ifc71d0d4e1c011ea6553310a2f5455ec77bacb60

11 years agoFix build error in gcc 4.7.x
Wonkyu Kwon [Mon, 22 Jul 2013 07:46:42 +0000 (16:46 +0900)]
Fix build error in gcc 4.7.x

Change-Id: Id451aada19153759cd30e73d6668422e66ea525b

11 years agoRemove unused codes
Wonkyu Kwon [Thu, 18 Apr 2013 05:22:19 +0000 (14:22 +0900)]
Remove unused codes

Change-Id: Id483c2c0e0febdc2fbc0603533c11e0fe3fe8646

11 years agoChange dbus service file name and user
Wonkyu Kwon [Mon, 22 Jul 2013 07:45:59 +0000 (16:45 +0900)]
Change dbus service file name and user

Change-Id: I210150f6dc7059723677971a7c92ff10484b9939

11 years agoFix error handling
Jaekyun Lee [Fri, 19 Apr 2013 12:47:40 +0000 (21:47 +0900)]
Fix error handling

Change-Id: I0547cd6d943e059e45c42b6ba546d12d4ee4447b

11 years agoFix manifests 31/5831/1
Michael Leibowitz [Wed, 17 Jul 2013 17:44:52 +0000 (10:44 -0700)]
Fix manifests

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

Signed-off-by: Michael Leibowitz <michael.leibowitz@intel.com>
11 years agoresetting manifest requested domain to floor 50/4450/1 accepted/tizen/20130710.221302 submit/tizen/20130710.124756
Alexandru Cornea [Fri, 28 Jun 2013 10:01:52 +0000 (13:01 +0300)]
resetting manifest requested domain to floor

11 years agoUpdate Changelog 37/3737/1 accepted/tizen/20130529.151403 submit/tizen/20130529.144448
Baptiste DURAND [Wed, 29 May 2013 12:50:28 +0000 (14:50 +0200)]
Update Changelog

11 years agoFix compatibility for x64 arch 36/3736/1
Baptiste DURAND [Wed, 29 May 2013 12:46:58 +0000 (14:46 +0200)]
Fix compatibility for x64 arch

fix hardcoded path

11 years agoAdd changelog 43/3643/1 accepted/tizen/20130523.160330 submit/tizen/20130522.235928
Rusty Lynch [Wed, 22 May 2013 23:59:02 +0000 (16:59 -0700)]
Add changelog

11 years agoRemove bogus macro from spec 42/3642/1
Rusty Lynch [Wed, 22 May 2013 23:56:55 +0000 (16:56 -0700)]
Remove bogus macro from spec

11 years agoFix RPMLINT Rules 12/3612/1
Baptiste DURAND [Thu, 4 Apr 2013 15:02:16 +0000 (17:02 +0200)]
Fix RPMLINT Rules

11 years agoRemove license file in file section 11/3611/1
Baptiste DURAND [Tue, 30 Apr 2013 14:23:48 +0000 (16:23 +0200)]
Remove license file in file section

11 years agoFix Install section 10/3610/1
Baptiste DURAND [Tue, 30 Apr 2013 14:07:18 +0000 (16:07 +0200)]
Fix Install section

init script should be not use

11 years agoFix build Error 09/3609/1
Baptiste DURAND [Tue, 30 Apr 2013 14:03:17 +0000 (16:03 +0200)]
Fix build Error

11 years agoFix x86_64 build-install compliance 08/3608/1
Baptiste DURAND [Fri, 29 Mar 2013 11:32:10 +0000 (12:32 +0100)]
Fix x86_64 build-install compliance

Fix Librairies installation
Fix PC file
Fix Code issue : variable type

11 years agoUpdate release version tizen_2.1 2.1b_release accepted/tizen/20130520.101306 accepted/tizen_2.1/20130425.025159 submit/tizen/20130517.045225 submit/tizen_2.1/20130424.233242
Jaekyun Lee [Tue, 23 Apr 2013 10:27:36 +0000 (19:27 +0900)]
Update release version

Change-Id: I0687c8d7dc35bdd553aa11fe59a0239ea2ba57ea

11 years agoUpload package
Wonkyu Kwon [Tue, 23 Apr 2013 09:47:37 +0000 (18:47 +0900)]
Upload package

Change-Id: I3e4d4ba698184d552205f20b2cd148ba682ed7b4

11 years agoRemove unused codes
Wonkyu Kwon [Thu, 18 Apr 2013 05:22:19 +0000 (14:22 +0900)]
Remove unused codes

Change-Id: Id483c2c0e0febdc2fbc0603533c11e0fe3fe8646

11 years agoChange dbus service file name and user
Wonkyu Kwon [Tue, 23 Apr 2013 02:36:48 +0000 (11:36 +0900)]
Change dbus service file name and user

Change-Id: I210150f6dc7059723677971a7c92ff10484b9939

11 years agoFix error handling
Jaekyun Lee [Fri, 19 Apr 2013 12:47:40 +0000 (21:47 +0900)]
Fix error handling

Change-Id: I0547cd6d943e059e45c42b6ba546d12d4ee4447b

11 years agoUpdate version to release
Jaekyun Lee [Wed, 17 Apr 2013 04:43:31 +0000 (13:43 +0900)]
Update version to release

Change-Id: Iad86b6cc434967ecaf46f67a5e119483635939f9

11 years agoFix the prevent problem.
Wonkyu Kwon [Fri, 5 Apr 2013 08:43:03 +0000 (17:43 +0900)]
Fix the prevent problem.

 - (CID 44368) add catching exception coode

Change-Id: Ibf729869c87766e9590e614545262db02057efef

11 years agoFix crashing nfc-manager in boot
Wonkyu Kwon [Fri, 5 Apr 2013 01:13:38 +0000 (10:13 +0900)]
Fix crashing nfc-manager in boot

 - remove g_object_unref function

Change-Id: Ic5ce07763a8a27d80284565f4250a4bcf87916f5

11 years agoUpdate smack manifest
Wonkyu Kwon [Fri, 29 Mar 2013 02:42:01 +0000 (11:42 +0900)]
Update smack manifest

 - apply labal '_' to dbus service file

Change-Id: Ib4e75a1cf1927727908f5e595db8c9acc9cf0de8

11 years agoReturn error code
Wonkyu Kwon [Tue, 19 Mar 2013 08:38:02 +0000 (17:38 +0900)]
Return error code

 - return or throw error code of operation
 - change some method parameter

Change-Id: I0b91638c8cb8c0dcc53fdaaec8888b0769fa4feb

11 years agoFix the prevent problem.
Wonkyu Kwon [Fri, 5 Apr 2013 08:43:03 +0000 (17:43 +0900)]
Fix the prevent problem.

 - (CID 44368) add catching exception coode

Change-Id: Ibf729869c87766e9590e614545262db02057efef

11 years agoFix crashing nfc-manager in boot
Wonkyu Kwon [Fri, 5 Apr 2013 01:13:38 +0000 (10:13 +0900)]
Fix crashing nfc-manager in boot

 - remove g_object_unref function

Change-Id: Ic5ce07763a8a27d80284565f4250a4bcf87916f5

11 years agoUpdate smack manifest
Wonkyu Kwon [Fri, 29 Mar 2013 02:42:01 +0000 (11:42 +0900)]
Update smack manifest

 - apply labal '_' to dbus service file

Change-Id: Ib4e75a1cf1927727908f5e595db8c9acc9cf0de8

11 years agoReturn error code
Wonkyu Kwon [Tue, 19 Mar 2013 08:38:02 +0000 (17:38 +0900)]
Return error code

 - return or throw error code of operation
 - change some method parameter

Change-Id: I0b91638c8cb8c0dcc53fdaaec8888b0769fa4feb

11 years agoAdd missing runtime requires. Fix build on x86_64.
Junfeng Dong [Fri, 1 Feb 2013 11:42:59 +0000 (19:42 +0800)]
Add missing runtime requires. Fix build on x86_64.

Change-Id: I464d05b0fcd567e27983cf4d8c0e2e0e34077341

11 years agoFix pointer cast into int issue for 64 bit compatibility.
Junfeng Dong [Thu, 28 Mar 2013 10:07:38 +0000 (18:07 +0800)]
Fix pointer cast into int issue for 64 bit compatibility.

Change-Id: Ic39eedc5cabfba69c3fa1006537aedc8e34fbcb3

11 years agoFix pointer cast into int issue for 64 bit compatibility.
Junfeng Dong [Thu, 28 Mar 2013 10:07:38 +0000 (18:07 +0800)]
Fix pointer cast into int issue for 64 bit compatibility.

Change-Id: Ic39eedc5cabfba69c3fa1006537aedc8e34fbcb3

11 years agoAdd missing runtime requires. Fix build on x86_64.
Junfeng Dong [Fri, 1 Feb 2013 11:42:59 +0000 (19:42 +0800)]
Add missing runtime requires. Fix build on x86_64.

Change-Id: I464d05b0fcd567e27983cf4d8c0e2e0e34077341

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

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

11 years agoMinor fix
Wonkyu Kwon [Wed, 6 Mar 2013 07:36:30 +0000 (16:36 +0900)]
Minor fix

 - code sync

Change-Id: Ic50119fea80e360b92e389806aaca6a83c7a22df

11 years agohandle exception case of epoll_wait
Wonkyu Kwon [Wed, 6 Mar 2013 03:14:45 +0000 (12:14 +0900)]
handle exception case of epoll_wait

 - ignore error when epoll_wait is interrupted.
   restart system call by while loop

Change-Id: Ie46f3a2931e836224dc2c9657d6e4f35da7abb54

11 years agoFix crashing smartcard-daemon
Wonkyu Kwon [Tue, 5 Mar 2013 14:51:58 +0000 (23:51 +0900)]
Fix crashing smartcard-daemon

 - restart epoll_wait when is interruped
 - release resource before exit daemon

Change-Id: Id57c4211046ae9e8e69382828298bce169747d8e

11 years agoSelect PKCS #15 using EF DIR
Wonkyu Kwon [Tue, 26 Feb 2013 07:51:24 +0000 (16:51 +0900)]
Select PKCS #15 using EF DIR

 - implement additional selecting sequence
 - fix minor bug

Change-Id: I9cea5234ec0722424a4f6f247b6b040683fbf5dc

11 years agoChange sequence of loading secure elements
Wonkyu Kwon [Thu, 21 Feb 2013 12:49:23 +0000 (21:49 +0900)]
Change sequence of loading secure elements

 - load secure element after receiving
   'get reader' message
 - fix minor bugs

Change-Id: If5abf50932e80278969a4ad481ecdbeae7c3c6d0

11 years agobug fix for pkgmgrinfo_appinfo_destroy_appinfo
SangSoo Lee [Mon, 18 Feb 2013 10:38:32 +0000 (19:38 +0900)]
bug fix for pkgmgrinfo_appinfo_destroy_appinfo

Change-Id: I89848e445e041de4d8d5630cf774f2814b9265e5

11 years agoFix build error in compling C++
Wonkyu Kwon [Mon, 18 Feb 2013 05:02:49 +0000 (14:02 +0900)]
Fix build error in compling C++

Change-Id: I41a3bd7d57f35c81cee639e1d04f57ed7af5364f

11 years agoChange algorithm of selecting PKCS #15 applet
Wonkyu Kwon [Fri, 15 Feb 2013 04:26:56 +0000 (13:26 +0900)]
Change algorithm of selecting PKCS #15 applet

 - select by path of PKCS #15 when is failed to
   selecting by AID
 - implement Record class
 - minor fix

Change-Id: I2dc8e76d6caffb582cb78d2ff84e507a31864118

11 years agoModify APDU classes
Wonkyu Kwon [Fri, 15 Feb 2013 04:25:06 +0000 (13:25 +0900)]
Modify APDU classes

 - define status clauses and values
 - fix calculating max. response length
 - return status word when is called 'getStatus'
   function.

Change-Id: Id814af2b1e12266a2dfc8fd855e1cb41ed300d80

11 years agoCreate EF DIR class
Wonkyu Kwon [Fri, 15 Feb 2013 04:18:20 +0000 (13:18 +0900)]
Create EF DIR class

 - support searching EF DIR (2F 00) record

Change-Id: I83abfc59cf9f4c50702b4c982ec22b0cca8af0f7

11 years agoStore select response in channel instance
Wonkyu Kwon [Fri, 15 Feb 2013 04:14:47 +0000 (13:14 +0900)]
Store select response in channel instance

Change-Id: I625a09a0f69d52dff37f5dc9c7dff2729b6f12f6

11 years agoAdjust comment
Wonkyu Kwon [Fri, 15 Feb 2013 03:23:14 +0000 (12:23 +0900)]
Adjust comment

Change-Id: Id173960a85e44d955b6bb29c60efe8837c28e416

11 years agoUpdate smack manifest
Wonkyu Kwon [Fri, 8 Feb 2013 08:05:27 +0000 (17:05 +0900)]
Update smack manifest

 - add rule for sys-assert::core

Change-Id: I0ed22e68d2d0086d071a75ebc3a770a09e9d86f0

11 years agoImplement raising exceptions
Wonkyu Kwon [Fri, 8 Feb 2013 08:05:02 +0000 (17:05 +0900)]
Implement raising exceptions

 - Add exception classes
 - throw exception

Change-Id: Ic331e95057ea09bb3ffc8dd0e072c77f3461fe9d

11 years agoparameter change for getting certinfo from app-id to pkg-id
SangSoo Lee [Fri, 1 Feb 2013 11:38:43 +0000 (20:38 +0900)]
parameter change for getting certinfo from app-id to pkg-id

Change-Id: I44b063885698d6fc5db9d76e3e29f40080b94eac

11 years agoFix the prevent problems
Wonkyu Kwon [Sat, 26 Jan 2013 05:01:03 +0000 (14:01 +0900)]
Fix the prevent problems

 - Check return value

Change-Id: Idcc6e69472630df08310894c3a2b5006adf9b525

11 years agoChange License name in spec file
Jaekyun Lee [Thu, 24 Jan 2013 14:51:08 +0000 (23:51 +0900)]
Change License name in spec file

Change-Id: I0ab5e34140c38dc45f0498eed7573d06798ee02c

11 years agoFix build error
Wonkyu Kwon [Thu, 24 Jan 2013 06:33:39 +0000 (15:33 +0900)]
Fix build error

 - add dependency.

Change-Id: Icf1d1a6102025e96f1455944e53f467a5ba3c1f7

11 years agoModify License File
Jaekyun Lee [Wed, 23 Jan 2013 05:50:46 +0000 (14:50 +0900)]
Modify License File

Change-Id: I115f340cf4c338ef0221d53f030691467dd8b583

11 years agoUpdate version number for release
Jaekyun Lee [Tue, 22 Jan 2013 02:20:43 +0000 (11:20 +0900)]
Update version number for release

Change-Id: Ia4c3a659868e5c1c57c4699274442241098c419d

11 years agoAdd NOTICE, AUTHOR file and modify boilerplate
Jaekyun Lee [Wed, 16 Jan 2013 10:19:41 +0000 (19:19 +0900)]
Add NOTICE, AUTHOR file and modify boilerplate

Change-Id: I18c33a0c86b98a8ca4c48891f69e04a3a8878978

11 years agoChange the rule for releasing resource
Wonkyu Kwon [Tue, 8 Jan 2013 01:57:22 +0000 (10:57 +0900)]
Change the rule for releasing resource

 - delete children instance in destroy function.
   so, you never delete returned instance

Change-Id: I5e00e91a87483766a7fda653b8de5d969e719023

11 years agoChange the authorization sequence
Wonkyu Kwon [Mon, 7 Jan 2013 10:27:12 +0000 (19:27 +0900)]
Change the authorization sequence

 - AccessControlList doesn't include Channel instance.
   You should pass Channel instance when call loadACL().
 - Change getting the Channel sequence.
   1. Open a logical channel.
   2. Check authorized access using opened channel.
   3-1. If it authorized, makes instance and return true.
   3-2. If it doesn't, close opened channel and return false

Change-Id: I693e75a1e1218edef4d6656f7d38c1a9a12e50fd

11 years agochannel change for access control
SangSoo Lee [Thu, 3 Jan 2013 12:50:29 +0000 (21:50 +0900)]
channel change for access control

Change-Id: If053227582775aa471bd552d2e12a35d91dd8512
Signed-off-by: SangSoo Lee <constant.lee@samsung.com>
11 years agoFix the prevent problem
Wonkyu Kwon [Wed, 2 Jan 2013 06:57:08 +0000 (15:57 +0900)]
Fix the prevent problem

 - fix a resource leak in SignatureHelper.cpp

Change-Id: I8749fcf045feebf79ff05481eeb15859077912a1

11 years agosmartcard-service make possible hard float build
i.palachev [Mon, 24 Dec 2012 11:01:53 +0000 (15:01 +0400)]
smartcard-service make possible hard float build

Change-Id: Ifa8e004ce82efe7dbe8c4232ed1350d109528164

11 years agoModify the log message
Jaekyun Lee [Tue, 18 Dec 2012 09:48:50 +0000 (18:48 +0900)]
Modify the log message

- Change the log tag name
- Use the defined log format in dlog.h

Change-Id: Icbc548b191b16b20e1dcb28c609c7fb1884b9521

11 years agocode sync
SangSoo Lee [Tue, 11 Dec 2012 07:55:24 +0000 (16:55 +0900)]
code sync

Change-Id: Ic551a76f2ec79d60e3bb43d42aa836298ecc825d