FreeBSD doesn't use the same method of authenticating passwords that
Linux uses with its shadow password file. This patch was a no-op anyway because of an earlier #ifdef in the source file. If the port needs this functionality, it should be re-implemented using PAM. Approved by: mbr
This commit is contained in:
parent
7f10af3f5c
commit
2dc75ff13e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79438
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ../sal/osl/unx/security.c.orig Sat Jul 20 22:53:31 2002
|
||||
+++ ../sal/osl/unx/security.c Sat Jul 20 22:52:39 2002
|
||||
@@ -739,7 +739,7 @@
|
||||
}
|
||||
|
||||
|
||||
-#elif (LINUX && (GLIBC >= 2))
|
||||
+#elif ((LINUX && (GLIBC >= 2)) || defined(FREEBSD))
|
||||
|
||||
struct passwd *pPasswd;
|
||||
|
Loading…
Reference in New Issue
Block a user