# 2.11BSD#431 - /usr/src/lib/libc/pdp/sys/execl.s

##### Functions

    _execl            X

       1: /*
       2:  * Copyright (c) 1987 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  */
       6:
       7: #ifdef SYSLIBC_SCCS
       8: _sccsid: <@(#)execl.s	2.6 (2.11BSD GTE) 1995/05/08\0>
       9:         .even
      10: #endif SYSLIBC_SCCS
      11:
      12: /*
      13:  * XXX - this routine can't use SYSCALL!!!
      14:  */
      15: #include "SYS.h"
      16:
      17: .globl  _environ
      18:
      19: ENTRY(execl)
      20:         mov     _environ,-(sp)  / pass default environment
      21:         mov     sp,r0           / calculate and pass address of first argv
      22:         add     $6.,r0          /   element (can't use "mov sp,-(sp)")
      23:         mov     r0,-(sp)
      24:         mov     6(sp),-(sp)     / pass the name
      25:         tst     -(sp)           / simulate return address stack spacing
      26:         SYS(execve)             /   and go for it ...
          /
          /   trap 59 -> [kernel] -> syscall() -> via sysent[] -> handler: execve
          /
      27:         add     $8.,sp          / if we get back it's an error
      28:         jmp     x_error

#### Defined functions

_execl defined in line 19; used 181 times

- in /usr/ingres/source/dbu/help.c line 152-153(2)
- in /usr/ingres/source/dbu/modify.c line 618
- in /usr/ingres/source/monitor/edit.c line 47-50(2)
- in /usr/ingres/source/monitor/shell.c line 50-53(2)
- in /usr/ingres/source/support/creatdb.c line 430
- in /usr/ingres/source/support/destroydb.c line 140
- in /usr/ingres/source/yyyacc/yyy1.c line 92-94(3)
- in /usr/src/bin/adb/format.c line 236
- in /usr/src/bin/as/as0.s line 1
- in /usr/src/bin/chpass/chpass.c line 391
- in /usr/src/bin/csh/sh.func.c line 178, 191-192(2)
- in /usr/src/bin/ed.c line 754
- in /usr/src/bin/make/dosys.c line 47-49(2)
- in /usr/src/bin/passwd/passwd.c line 260
- in /usr/src/bin/rcp.c line 400
- in /usr/src/bin/tcsh/sh.func.c line 260, 274-275(2)
- in /usr/src/bin/write.c line 227
- in /usr/src/games/adventure/init.c line 36
- in /usr/src/games/atc/input.c line 298-301(2)
- in /usr/src/games/backgammon/main.c line 150
- in /usr/src/games/backgammon/teach.c line 131
- in /usr/src/games/btlgammon/btlgammon.c line 144
- in /usr/src/games/hack/hack.pager.c line 312, 343-345(2)
- in /usr/src/games/hack/hack.unix.c line 411
- in /usr/src/games/hunt/hunt.c line 476
- in /usr/src/games/monop/misc.c line 5
- in /usr/src/games/pdp/zork/z.c line 78-79(2)
- in /usr/src/games/pdp/zork/zork.c line 84-85(2)
- in /usr/src/games/phantasia/func1.c line 213
- in /usr/src/games/rogue/machdep.c line 543
- in /usr/src/games/trek/shell.c line 25
- in /usr/src/games/warp/score.c line 243
- in /usr/src/games/warp/sig.c line 92
- in /usr/src/lib/libc/gen/popen.c line 89
- in /usr/src/lib/libc/gen/system.c line 65
- in /usr/src/libexec/popper/pop_xmit.c line 77
- in /usr/src/libexec/rexecd/rexecd.c line 196
- in /usr/src/libexec/rlogind/rlogind.c line 287-293(3)
- in /usr/src/libexec/rshd/rshd.c line 386
- in /usr/src/libexec/tcpd/options.c line 388
- in /usr/src/libexec/tcpd/shell_cmd.c line 84
- in /usr/src/libexec/telnetd/telnetd.c line 322
- in /usr/src/local/afio/afio.c line 1405, 2471
- in /usr/src/local/zmodem/rz.c line 921, 1549
- in /usr/src/new/OLD/apl/src/ai.c line 35-37(3), 624-625(2)
- in /usr/src/new/OLD/apl/src/aj.c line 249-250(2)
- in /usr/src/new/OLD/apl/src/al.c line 264
- in /usr/src/new/OLD/apl/src/xed.c line 5628
- in /usr/src/new/PORT/B/src/bed/comm.c line 152
- in /usr/src/new/PORT/apl/src/ai.c line 35-37(3), 624-625(2)
- in /usr/src/new/PORT/apl/src/aj.c line 249-250(2)
- in /usr/src/new/PORT/apl/src/al.c line 264
- in /usr/src/new/PORT/perl.1.0.0/arg.c line 786
- in /usr/src/new/PORT/perl.1.0.10/arg.c line 808
- in /usr/src/new/PORT/perl.1.0.16/arg.c line 827
- in /usr/src/new/jove/jove.c line 438, 753
- in /usr/src/new/jove/recover.c line 656
- in /usr/src/new/kermit5.188/ckufio.c line 1415, 2851, 2918-2920(2)
- in /usr/src/new/kermit5.188/ckustr.c line 399
- in /usr/src/new/l11/pass2.c line 891
- in /usr/src/new/m11/macxrf.c line 167
- in /usr/src/new/nntp/server/spawn.c line 168
- in /usr/src/new/notes/src/misc.c line 84-86(2)
- in /usr/src/new/rn/util.c line 58-60(2)
- in /usr/src/old/cu/cu.c line 379-381(2)
- in /usr/src/sbin/init/init.c line 301, 334-339(3), 758
- in /usr/src/ucb/PORT/pascal/eyacc/ey1.c line 134-136(3)
- in /usr/src/ucb/PORT/pascal/pxp/main.c line 70
- in /usr/src/ucb/PORT/pascal/src/main.c line 107
- in /usr/src/ucb/PORT/pascal/utilities/pc.c line 124
- in /usr/src/ucb/apply.c line 128
- in /usr/src/ucb/ex/ex.c line 272
- in /usr/src/ucb/ex/ex.h line 361
- in /usr/src/ucb/ex/ex_io.c line 238
- in /usr/src/ucb/ex/ex_subr.c line 874
- in /usr/src/ucb/ex/ex_unix.c line 194, 319
- in /usr/src/ucb/ftp/cmds.c line 1246-1249(2)
- in /usr/src/ucb/pascal/eyacc/ey1.c line 126-128(3)
- in /usr/src/ucb/pascal/pi/main.c line 92
- in /usr/src/ucb/pascal/pxp/main.c line 61
- in /usr/src/ucb/rdist/server.c line 1316
- in /usr/src/ucb/script.c line 165
- in /usr/src/ucb/sendbug/bugfiler.c line 133
- in /usr/src/ucb/vacation.c line 353
- in /usr/src/usr.bin/at/atrun.c line 345, 351, 357
- in /usr/src/usr.bin/bc.y line 608-609(2)
- in /usr/src/usr.bin/crypt.c line 40
- in /usr/src/usr.bin/dc/dc.c line 1575
- in /usr/src/usr.bin/learn/getlesson.c line 44
- in /usr/src/usr.bin/learn/makpipe.c line 18-19(2)
- in /usr/src/usr.bin/learn/maktee.c line 27
- in /usr/src/usr.bin/learn/mysys.c line 155
- in /usr/src/usr.bin/learn/wrapup.c line 25-29(3)
- in /usr/src/usr.bin/ptx.c line 240
- in /usr/src/usr.bin/refer/glue3.c line 31
- in /usr/src/usr.bin/refer/inv1.c line 92-93(2)
- in /usr/src/usr.bin/refer/refer3.c line 26
- in /usr/src/usr.bin/refer/what3.c line 31, 44
- in /usr/src/usr.bin/roff/common_source/n2.c line 329
- in /usr/src/usr.bin/tc.c line 308
- in /usr/src/usr.bin/tip/cmds.c line 551, 642, 807
- in /usr/src/usr.bin/tk.c line 214
- in /usr/src/usr.bin/uucp/UUAIDS/uucpsrv.c line 38
- in /usr/src/usr.bin/uucp/condevs.c line 540
- in /usr/src/usr.bin/uucp/mailst.c line 75
- in /usr/src/usr.bin/uucp/uucpd.c line 194-198(2)
- in /usr/src/usr.bin/uucp/uusend.c line 348
- in /usr/src/usr.bin/uucp/xqt.c line 44-52(4), 84, 107
- in /usr/src/usr.bin/xinstall/xinstall.c line 295
- in /usr/src/usr.lib/libU77/chmod_.c line 46
- in /usr/src/usr.lib/libU77/system_.c line 67
- in /usr/src/usr.lib/libstubs/stubs.c line 248
- in /usr/src/usr.sbin/accton/accton.c line 195
- in /usr/src/usr.sbin/lpr/printjob.c line 468, 919, 1181
- in /usr/src/usr.sbin/sendmail.MX/aux/mail-dm.c line 350
- in /usr/src/usr.sbin/sendmail/aux/mail-dm.c line 350
- in /usr/src/usr.sbin/vipw/vipw.c line 225

_sccsid defined in line 8; never used

Last modified: 1995-05-09 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 874 |