-
-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Revert a patch in NSS that causes crashes when system is started in FIPS kernel mode. Also update SQLITE3. Use system libraries to prevent the crashes. * Fix a known exploit in SAMBA * Make sure Firefox always uses the created profile. This comes into play when other applications use the user's Firefox profile * When populating the user's home, respect the umask set above
- Loading branch information
1 parent
408ec62
commit 2bc693b
Showing
15 changed files
with
102 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
e0fe0d828091919746eabba57ca5f155 nss-3.46.1.tar.gz | ||
17226659298a9d9bb3f323186d220f6f nss-config.in | ||
a796e6ab6c87573ffb649ce8769bc07a nss.pc.in | ||
25afb9d5764efabdc356ed9a34d9504b revert-proc-fips.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
--- nss-3.43/nss/lib/pk11wrap/pk11util.c 2019-03-15 20:25:08.000000000 -0400 | ||
+++ nss-3.42.1/nss/lib/pk11wrap/pk11util.c 2019-01-31 12:41:49.000000000 -0500 | ||
@@ -95,31 +95,6 @@ | ||
return SECSuccess; | ||
} | ||
|
||
-int | ||
-secmod_GetSystemFIPSEnabled(void) | ||
-{ | ||
-#ifdef LINUX | ||
- FILE *f; | ||
- char d; | ||
- size_t size; | ||
- | ||
- f = fopen("/proc/sys/crypto/fips_enabled", "r"); | ||
- if (!f) { | ||
- return 0; | ||
- } | ||
- | ||
- size = fread(&d, 1, sizeof(d), f); | ||
- fclose(f); | ||
- if (size != sizeof(d)) { | ||
- return 0; | ||
- } | ||
- if (d == '1') { | ||
- return 1; | ||
- } | ||
-#endif | ||
- return 0; | ||
-} | ||
- | ||
/* | ||
* retrieve the internal module | ||
*/ | ||
@@ -453,7 +428,7 @@ | ||
SECMODModuleList **mlpp; | ||
SECStatus rv = SECFailure; | ||
|
||
- if (secmod_GetSystemFIPSEnabled() || pendingModule) { | ||
+ if (pendingModule) { | ||
PORT_SetError(SEC_ERROR_MODULE_STUCK); | ||
return rv; | ||
} | ||
@@ -988,7 +963,7 @@ | ||
#ifdef NSS_FIPS_DISABLED | ||
return PR_FALSE; | ||
#else | ||
- return (PRBool)((pendingModule == NULL) && !secmod_GetSystemFIPSEnabled()); | ||
+ return (PRBool)(pendingModule == NULL); | ||
#endif | ||
} | ||
|
||
--- nss-3.43/nss/lib/pk11wrap/secmodi.h 2019-03-15 20:25:08.000000000 -0400 | ||
+++ nss-3.42.1/nss/lib/pk11wrap/secmodi.h 2019-01-31 12:41:49.000000000 -0500 | ||
@@ -115,13 +115,6 @@ | ||
CK_MECHANISM_TYPE pk11_GetPBECryptoMechanism(SECAlgorithmID *algid, | ||
SECItem **param, SECItem *pwd, PRBool faulty3DES); | ||
|
||
-/* Get the state of the system FIPS mode */ | ||
-/* NSS uses this to force FIPS mode if the system bit is on. Applications which | ||
- * use the SECMOD_CanDeleteInteral() to check to see if they can switch to or | ||
- * from FIPS mode will automatically be told that they can't swith out of FIPS | ||
- * mode */ | ||
-int secmod_GetSystemFIPSEnabled(); | ||
- | ||
extern void pk11sdr_Init(void); | ||
extern void pk11sdr_Shutdown(void); | ||
|
||
--- nss-3.43/nss/lib/pk11wrap/pk11pars.c 2019-03-15 20:25:08.000000000 -0400 | ||
+++ nss-3.42.1/nss/lib/pk11wrap/pk11pars.c 2019-01-31 12:41:49.000000000 -0500 | ||
@@ -815,10 +807,6 @@ | ||
|
||
mod->internal = NSSUTIL_ArgHasFlag("flags", "internal", nssc); | ||
mod->isFIPS = NSSUTIL_ArgHasFlag("flags", "FIPS", nssc); | ||
- /* if the system FIPS mode is enabled, force FIPS to be on */ | ||
- if (secmod_GetSystemFIPSEnabled()) { | ||
- mod->isFIPS = PR_TRUE; | ||
- } | ||
mod->isCritical = NSSUTIL_ArgHasFlag("flags", "critical", nssc); | ||
slotParams = NSSUTIL_ArgGetParamValue("slotParams", nssc); | ||
mod->slotInfo = NSSUTIL_ArgParseSlotInfo(mod->arena, slotParams, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
448caca4745aef1a842f4fdb1aa62e1e samba | ||
96fb3a5db15b5604130649445335f326 samba-4.11.4.tar.gz | ||
ee41eadd86735ff72964857ba5e1f897 samba-4.11.5.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file renamed
BIN
+9.89 MB
ts/ports/opt/samba/samba#4.11.4-1.pkg.tar.xz → ts/ports/opt/samba/samba#4.11.5-1.pkg.tar.xz
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
74931054399a2d7acf35637efe8d6f45 sqlite-autoconf-3090100.tar.gz | ||
8f3dfe83387e62ecb91c7c5c09c688dc sqlite-autoconf-3290000.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.