+Tue Jun 22 17:26:33 CEST 1999
+
+ * Fixed some Linux/powerpc sillyness, thanks to Daniel Jacobowitz
+ * Fixed some SunOS compile problems earlier that I forgot to include
+ here
+
Mon Jun 14 12:44:25 CEST 1999
* Avoid leakint fd into child when forking, patch from
#endif /* !LINUX */
if (entering(tcp)) {
-#if defined(LINUX) && !defined(ALPHA) && !defined(sparc) || defined(POWERPC)
+#if defined(LINUX) && !defined(ALPHA) && !defined(sparc) && !defined(POWERPC)
if (umoven(tcp, tcp->u_arg[0], sizeof u_arg,
(char *) u_arg) == -1)
return 0;
-#endif /* LINUX && !ALPHA && !sparc && !powerpc*/
+#endif /* LINUX && !ALPHA && !sparc && !POWERPC */
/* addr */
if (!u_arg[0])
int current_personality;
int
-set_personality(int personality)
+set_personality(personality)
+int personality;
{
switch (personality) {
case 0:
};
void
-sparc_socket_decode (struct tcb *tcp)
+sparc_socket_decode (tcp)
+struct tcb *tcp;
{
volatile long addr;
volatile int i, n;
#ifdef SUNOS4
#ifdef SPARC /* This code is slightly sparc specific */
- struct pt_regs regs;
+ struct regs regs;
#define BPT 0x91d02001 /* ta 1 */
#define LOOP 0x10800000 /* ba 0 */
#define LOOPA 0x30800000 /* ba,a 0 */
#ifdef SPARC
#if !LOOPA
- struct pt_regs regs;
+ struct regs regs;
#endif
if (!(tcp->flags & TCB_BPTSET)) {