Closed
Bug 668130
Opened 14 years ago
Closed 12 years ago
Remove auditing code in fipstokn.c which breaks Solaris 11
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.16
People
(Reporter: ginnchen+exoracle, Assigned: julien.pierre)
Details
Attachments
(1 file, 1 obsolete file)
|
3.81 KB,
patch
|
julien.pierre
:
review+
wtc
:
checked-in+
|
Details | Diff | Splinter Review |
"fipstokn.c", line 459: prototype mismatch: 3 args passed, 4 expected
"fipstokn.c", line 465: prototype mismatch: 3 args passed, 4 expected
The interface of au_close() is changed in snv_168.
- int au_close(int d, int keep, short event);
+ int au_close(int d, int keep, au_event_t event, au_emod_t e_mod);
+ The e_mod variable indicates whether the audit record is
+ a success (0), or fail(PAD_FAILURE) record.
| Assignee | ||
Comment 1•12 years ago
|
||
Indeed. It looks like the prototype for au_close has changed in s11 to take a 4th argument.
| Assignee | ||
Comment 2•12 years ago
|
||
This is not just a build issue, but also presents a runtime binary compatibility issue. I have consulted with the Solaris team.
Since Oracle isn't doing FIPS validations for NSS anymore on Solaris, their recommendation is to remove the auditing code.
| Assignee | ||
Updated•12 years ago
|
Summary: fipstokn.c failed to compile on Solaris 11 → Remove auditing code in fipstokn.c which breaks Solaris 11
| Assignee | ||
Updated•12 years ago
|
Priority: -- → P2
Target Milestone: --- → 3.16
Comment 3•12 years ago
|
||
That code was added in this changeset:
https://hg.mozilla.org/projects/nss/rev/b4fdd7dfac22
I also removed the accompanying makefile changes.
The change to lib/softoken/config.mk has apparently
been replicated to the two new database directories.
So I removed them all.
Please test the new code. Thanks.
Attachment #8390234 -
Attachment is obsolete: true
Attachment #8390234 -
Flags: review?(wtc)
Attachment #8390522 -
Flags: review?(julien.pierre)
Attachment #8390522 -
Flags: checked-in+
Comment 4•12 years ago
|
||
Patch checked in: https://hg.mozilla.org/projects/nss/rev/e2698be0010b
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 8390522 [details] [diff] [review]
Remove Solaris auditing code, v2
Review of attachment 8390522 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for catching that. It builds fine.
Attachment #8390522 -
Flags: review?(julien.pierre) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•