Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Issue 2471003: Make pkcsslotd grab the shared memory it needs, even if it wasnt freed by a previous instance (Closed)

Created:
10 years, 6 months ago by Chris Masone
Modified:
9 years, 7 months ago
Reviewers:
Will Drewry
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, tedbo, awong, adlr, anush, Chris Masone
Base URL:
ssh://git@chromiumos-git//chromiumos-overlay.git
Visibility:
Public.

Description

Make pkcsslotd grab the shared memory it needs, even if it wasnt freed by a previous instance BUG=1778 TEST=Login, logout, login and verify that pkcsslotd is running

Patch Set 1 #

Patch Set 2 : now, with patch file! #

Total comments: 6

Patch Set 3 : address comments per WAD #

Patch Set 4 : Move logging a bit #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, --1 lines) Patch
A dev-libs/opencryptoki/files/opencryptoki-2.2.8-steal_shmem.patch View 2 3 1 chunk +33 lines, -0 lines 1 comment Download
M dev-libs/opencryptoki/opencryptoki-2.2.8.ebuild View 1 chunk +1 line, -0 lines 0 comments Download
A + dev-libs/opencryptoki/opencryptoki-2.2.8-r4.ebuild View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Chris Masone
10 years, 6 months ago (2010-06-02 01:14:07 UTC) #1
Will Drewry
On 2010/06/02 01:14:07, cmasone wrote: > Where does the shmem patch live?
10 years, 6 months ago (2010-06-02 01:20:39 UTC) #2
Chris Masone
On 2010/06/02 01:20:39, Will Drewry wrote: > On 2010/06/02 01:14:07, cmasone wrote: > > > ...
10 years, 6 months ago (2010-06-02 02:05:40 UTC) #3
Will Drewry
seems fine to me but a few nits that are maybe off base http://codereview.chromium.org/2471003/diff/4001/5001 File ...
10 years, 6 months ago (2010-06-02 02:35:17 UTC) #4
Chris Masone
http://codereview.chromium.org/2471003/diff/4001/5001 File dev-libs/opencryptoki/files/opencryptoki-2.2.8-steal_shmem.patch (right): http://codereview.chromium.org/2471003/diff/4001/5001#newcode12 dev-libs/opencryptoki/files/opencryptoki-2.2.8-steal_shmem.patch:12: + shmid = shmget( tok, sizeof( Slot_Mgr_Shr_t ), 0); ...
10 years, 6 months ago (2010-06-02 18:00:38 UTC) #5
Will Drewry
10 years, 6 months ago (2010-06-02 18:37:06 UTC) #6
LGTM with an optional nit

http://codereview.chromium.org/2471003/diff/10002/11001
File dev-libs/opencryptoki/files/opencryptoki-2.2.8-steal_shmem.patch (right):

http://codereview.chromium.org/2471003/diff/10002/11001#newcode33
dev-libs/opencryptoki/files/opencryptoki-2.2.8-steal_shmem.patch:33: -
looks like you dropped an empty line down here.

Powered by Google App Engine
This is Rietveld 408576698