summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
l---------data/pam-modules/_metadata/openpam.dep1
l---------data/pam-modules/_metadata/pam.dep1
-rw-r--r--data/pam-modules/pam_modules-173.1.1.tar.gzbin0 -> 76400 bytes
-rw-r--r--data/pam-modules/pam_modules-36.1.tar.gzbin69116 -> 0 bytes
-rw-r--r--data/pam-modules/pw_util.h65
-rw-r--r--data/pam-modules/tempname.diff12
-rw-r--r--data/pam-modules/vproc_priv.h82
l---------data/system-cmds/_metadata/openpam.dep1
l---------data/system-cmds/_metadata/pam.dep1
-rw-r--r--data/system-cmds/_metadata/version2
-rw-r--r--data/system-cmds/arch.diff22
-rw-r--r--data/system-cmds/system_cmds-790.30.1.tar.gzbin0 -> 497394 bytes
12 files changed, 25 insertions, 162 deletions
diff --git a/data/pam-modules/_metadata/openpam.dep b/data/pam-modules/_metadata/openpam.dep
new file mode 120000
index 000000000..cdea282ac
--- /dev/null
+++ b/data/pam-modules/_metadata/openpam.dep
@@ -0,0 +1 @@
+../../openpam \ No newline at end of file
diff --git a/data/pam-modules/_metadata/pam.dep b/data/pam-modules/_metadata/pam.dep
deleted file mode 120000
index d21087a2d..000000000
--- a/data/pam-modules/_metadata/pam.dep
+++ /dev/null
@@ -1 +0,0 @@
-../../pam \ No newline at end of file
diff --git a/data/pam-modules/pam_modules-173.1.1.tar.gz b/data/pam-modules/pam_modules-173.1.1.tar.gz
new file mode 100644
index 000000000..22588cbc0
--- /dev/null
+++ b/data/pam-modules/pam_modules-173.1.1.tar.gz
Binary files differ
diff --git a/data/pam-modules/pam_modules-36.1.tar.gz b/data/pam-modules/pam_modules-36.1.tar.gz
deleted file mode 100644
index c7816a223..000000000
--- a/data/pam-modules/pam_modules-36.1.tar.gz
+++ /dev/null
Binary files differ
diff --git a/data/pam-modules/pw_util.h b/data/pam-modules/pw_util.h
deleted file mode 100644
index b5811b0a2..000000000
--- a/data/pam-modules/pw_util.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
- *
- * @APPLE_LICENSE_HEADER_START@
- *
- * "Portions Copyright (c) 1999 Apple Computer, Inc. All Rights
- * Reserved. This file contains Original Code and/or Modifications of
- * Original Code as defined in and that are subject to the Apple Public
- * Source License Version 1.0 (the 'License'). You may not use this file
- * except in compliance with the License. Please obtain a copy of the
- * License at http://www.apple.com/publicsource and read it before using
- * this file.
- *
- * The Original Code and all software distributed under the License are
- * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
- * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
- * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
- * License for the specific language governing rights and limitations
- * under the License."
- *
- * @APPLE_LICENSE_HEADER_END@
- */
-/*-
- * Copyright (c) 1994
- * The Regents of the University of California. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * @(#)pw_util.h 8.2 (Berkeley) 4/1/94
- */
-
-void pw_edit __P((int));
-void pw_error __P((char *, int, int));
-void pw_init __P((void));
-int pw_lock __P((void));
-int pw_mkdb __P((void));
-void pw_prompt __P((void));
-int pw_tmp __P((void));
diff --git a/data/pam-modules/tempname.diff b/data/pam-modules/tempname.diff
deleted file mode 100644
index a8d06558c..000000000
--- a/data/pam-modules/tempname.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru pam_modules-36.1/pam_unix/pw_util.c pam_modules-36.1+iPhone/pam_unix/pw_util.c
---- pam_modules-36.1/pam_unix/pw_util.c 2007-01-16 05:28:31.000000000 +0000
-+++ pam_modules-36.1+iPhone/pam_unix/pw_util.c 2009-04-08 09:26:20.000000000 +0000
-@@ -82,7 +82,7 @@
-
- #include "pw_util.h"
-
--extern char *tempname;
-+char *tempname;
- static pid_t editpid = -1;
- static int lockfd;
-
diff --git a/data/pam-modules/vproc_priv.h b/data/pam-modules/vproc_priv.h
deleted file mode 100644
index 991ceb0bc..000000000
--- a/data/pam-modules/vproc_priv.h
+++ /dev/null
@@ -1,82 +0,0 @@
-#ifndef _VPROC_PRIVATE_H_
-#define _VPROC_PRIVATE_H_
-/*
- * Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
- *
- * @APPLE_APACHE_LICENSE_HEADER_START@
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * @APPLE_APACHE_LICENSE_HEADER_END@
- */
-
-#include <sys/types.h>
-#include <sys/cdefs.h>
-#include <sys/syslog.h>
-#include <sys/time.h>
-#include <stdbool.h>
-#include <launch.h>
-
-__BEGIN_DECLS
-
-#pragma GCC visibility push(default)
-
-/* DO NOT use this. This is a hack for launchctl */
-#define VPROC_MAGIC_UNLOAD_SIGNAL 0x4141504C
-
-typedef enum {
- VPROC_GSK_LAST_EXIT_STATUS = 1,
- VPROC_GSK_GLOBAL_ON_DEMAND,
- VPROC_GSK_MGR_UID,
- VPROC_GSK_MGR_PID,
- VPROC_GSK_IS_MANAGED,
- VPROC_GSK_BASIC_KEEPALIVE,
- VPROC_GSK_START_INTERVAL,
- VPROC_GSK_IDLE_TIMEOUT,
- VPROC_GSK_EXIT_TIMEOUT,
- VPROC_GSK_ENVIRONMENT,
- VPROC_GSK_ALLJOBS,
- VPROC_GSK_GLOBAL_LOG_MASK,
- VPROC_GSK_GLOBAL_UMASK,
-} vproc_gsk_t;
-
-vproc_err_t vproc_swap_integer(vproc_t vp, vproc_gsk_t key, int64_t *inval, int64_t *outval);
-vproc_err_t vproc_swap_complex(vproc_t vp, vproc_gsk_t key, launch_data_t inval, launch_data_t *outval);
-
-vproc_err_t _vproc_get_last_exit_status(int *wstatus);
-vproc_err_t _vproc_set_global_on_demand(bool val);
-
-typedef void (*_vprocmgr_log_drain_callback_t)(struct timeval *when, pid_t from_pid, pid_t about_pid, uid_t sender_uid, gid_t sender_gid, int priority, const char *from_name, const char *about_name, const char *session_name, const char *msg);
-
-vproc_err_t _vprocmgr_log_drain(vproc_t vp, pthread_mutex_t *optional_mutex_around_callback, _vprocmgr_log_drain_callback_t func);
-
-vproc_err_t _vproc_send_signal_by_label(const char *label, int sig);
-vproc_err_t _vproc_kickstart_by_label(const char *label, pid_t *out_pid, mach_port_t *out_port_name);
-vproc_err_t _vproc_wait_by_label(const char *label, int *out_wstatus);
-
-void _vproc_log(int pri, const char *msg, ...) __attribute__((format(printf, 2, 3)));
-void _vproc_log_error(int pri, const char *msg, ...) __attribute__((format(printf, 2, 3)));
-
-#define VPROCMGR_SESSION_LOGINWINDOW "LoginWindow"
-#define VPROCMGR_SESSION_BACKGROUND "Background"
-#define VPROCMGR_SESSION_AQUA "Aqua"
-#define VPROCMGR_SESSION_STANDARDIO "StandardIO"
-#define VPROCMGR_SESSION_SYSTEM "System"
-
-vproc_err_t _vprocmgr_move_subset_to_user(uid_t target_user, const char *session_type);
-
-#pragma GCC visibility pop
-
-__END_DECLS
-
-#endif
diff --git a/data/system-cmds/_metadata/openpam.dep b/data/system-cmds/_metadata/openpam.dep
new file mode 120000
index 000000000..cdea282ac
--- /dev/null
+++ b/data/system-cmds/_metadata/openpam.dep
@@ -0,0 +1 @@
+../../openpam \ No newline at end of file
diff --git a/data/system-cmds/_metadata/pam.dep b/data/system-cmds/_metadata/pam.dep
deleted file mode 120000
index d21087a2d..000000000
--- a/data/system-cmds/_metadata/pam.dep
+++ /dev/null
@@ -1 +0,0 @@
-../../pam \ No newline at end of file
diff --git a/data/system-cmds/_metadata/version b/data/system-cmds/_metadata/version
index 18044ae48..462e41418 100644
--- a/data/system-cmds/_metadata/version
+++ b/data/system-cmds/_metadata/version
@@ -1 +1 @@
-433.8
+790.30.1
diff --git a/data/system-cmds/arch.diff b/data/system-cmds/arch.diff
new file mode 100644
index 000000000..f05b3999f
--- /dev/null
+++ b/data/system-cmds/arch.diff
@@ -0,0 +1,22 @@
+diff -ur system_cmds-790.30.1/arch.tproj/arch.c system_cmds-790.30.1+iPhone/arch.tproj/arch.c
+--- system_cmds-790.30.1/arch.tproj/arch.c 2018-02-03 12:02:36.000000000 -1000
++++ system_cmds-790.30.1+iPhone/arch.tproj/arch.c 2018-07-31 16:15:42.000000000 -1000
+@@ -78,6 +78,8 @@
+ {"x86_64", CPU_TYPE_X86_64},
+ #elif defined(__arm__)
+ {"arm", CPU_TYPE_ARM},
++#elif defined(__arm64__)
++ {"arm", CPU_TYPE_ARM64},
+ #else
+ #error "Unsupported architecture"
+ #endif
+@@ -102,6 +104,9 @@
+ #elif defined(__arm__)
+ #define NATIVE_32 "arm"
+ #define NATIVE_64 NULL
++#elif defined(__arm64__)
++#define NATIVE_32 NULL
++#define NATIVE_64 "arm64"
+ #else
+ #error "Unsupported architecture"
+ #endif
diff --git a/data/system-cmds/system_cmds-790.30.1.tar.gz b/data/system-cmds/system_cmds-790.30.1.tar.gz
new file mode 100644
index 000000000..616c9d054
--- /dev/null
+++ b/data/system-cmds/system_cmds-790.30.1.tar.gz
Binary files differ