././@LongLink0000644000000000000000000000017500000000000011606 Lustar rootrootlibexecs-1.1/debian/.debhelper/libexecs0/dbgsym-root/usr/lib/debug/.build-id/d2/05705be4af82e8fc5a76890b3963841fa0c371.debuglibexecs-1.1/debian/.debhelper/libexecs0/dbgsym-root/usr/lib/debug/.build-id/d2/05705be4af82e8fc5a760000644000175000017500000003236013173400002031400 0ustar giuliagiuliaELF>@0,@8@#" -- -  -- - $$PtdddQtdRtd-- - 00GNUp[䯂Zv 9cqGCC: (Debian 7.1.0-13) 7.1.0`xa```b0 ZXv.D6pcAxX pT>{޼vfw]!M0kѴFAź 8v( Q  E hQԂT:]XVhG;ܻWL3s?~'L :1f5RVMo($;ƏL<$ t߽)WC45Ā.uIdB87 Ĩ$E8uk \lLc W 5:迁1nvc B08L09s <4 ;|2y0`&4Wt.2sK2nlüJs"|2[SʧSUf ƻ Ҭ@*~=5wbi z 4),@$ϜA(ZRyе^c^,ADf,C-Xn̂܏ LUz! ide [)mv{ч1C_gXIYP&XG F3 aE#7(9q?;x0,x]ѕ&+)XE>8 ZSvDj\ 6AS+5B$h4ԑ 2!NsDT2:XIi6r苚 7I9=Bu0g)4P_d_Y?&!\[ S1 Yd 7RXY򱶒)e9 oQ8ŅoH)_Ŋ3ey:Wx:ebU9U_rM+u\X )_G}z2')|58B=OngϜ' Kz,ZM(M=ӔMOƿl_`wURPǦ| ¾cw0L0X Qj;vsG8IDR.VA9G8 zSi*%\>Shv1kv'S>|6m> :5 tb6#TB.T!$e|࿗̳4޿#N#)&+I/UKc@n iH= Vv1)68 `ZE{!'0 9D00L?ѱ7μZCC } l Vց0+[0g#5!H6*Oc:TGtaO$eK6S+PvoS=E\yf"$XA'.;^2PvTuYf^mMj`r8WXZ|MuR O`Ot J.2dN=1\N|߂L׆9J=,q[ܓ֭ިO*p9 S|%>d&QħLULͭZeu>}k~B5p {Φ]ԛ,S){nS-Grt'ߊ 9cS],J/1t8݉Wez=5J7<յ {= ]Q'#_z1c*3D+Nߥ~Z++T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cy8MYX Ux|hw+PRzG΂sr&9gIȵjN[u -`Ai_&< mz=*۝Q'O*܆Nk/f ]oթQa<9A;e[4SzٖQg9^C%nTG ˗Ctidc\ bexʆXiZ#S(c~jYDDml{?,,廨|2g &sV*?M'ZBRWr ?쎅9$q8S_ pxsa (]t'/@iu&T<?P  @im(mɈ]?=_Ԟh{2c? *J߀,zN`Ů T|~ٰ= X  X     p  T]d- - - / 0 0 1    ! 71 F- m Py-  p 91 0 - d1 0 ' .@^ z P #1   T1 #5I `Vl 0V ` `1 Z1 1  7 0 @/1 ; @Gav1  1 Z" crtstuff.cderegister_tm_clones__do_global_dtors_auxcompleted.7001__do_global_dtors_aux_fini_array_entryframe_dummy__frame_dummy_init_array_entryexecs.cargs_fsanoshell.csystem_execsr_fpopen_list__FRAME_END____dso_handle_DYNAMIC__GNU_EH_FRAME_HDR__TMC_END___GLOBAL_OFFSET_TABLE_s2argvfree@@GLIBC_2.2.5__errno_location@@GLIBC_2.2.5_ITM_deregisterTMCloneTable_exit@@GLIBC_2.2.5s2argv_freefcntl@@GLIBC_2.2.5s2argc_edatafclose@@GLIBC_2.2.5coprocess_common_finistrlen@@GLIBC_2.2.5s2argv_getvar__stack_chk_fail@@GLIBC_2.4dup2@@GLIBC_2.2.5execvpe@@GLIBC_2.11pclose_execs__strdup@@GLIBC_2.2.5execve@@GLIBC_2.2.5calloc@@GLIBC_2.2.5system_execsrgetvar_null__gmon_start__nextstateexecs_fork_security_argmalloc@@GLIBC_2.2.5_ends2argvlenexecs_commons2multiargvfdopen@@GLIBC_2.2.5__bss_startpopen_execs__printf_chk@@GLIBC_2.3.4waitpid@@GLIBC_2.2.5execs_fork_securityexecvp@@GLIBC_2.2.5pipe2@@GLIBC_2.9__environ@@GLIBC_2.2.5_ITM_registerTMCloneTableaction__cxa_finalize@@GLIBC_2.2.5_initexecv@@GLIBC_2.2.5fork@@GLIBC_2.2.5.symtab.strtab.shstrtab.note.gnu.build-id.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.plt.got.text.fini.rodata.eh_frame_hdr.eh_frame.init_array.fini_array.dynamic.got.plt.data.bss.comment.debug_aranges.debug_info.debug_abbrev.debug_line.debug_str.debug_loc.debug_ranges$.8@X9H dU `dX Pn (x s ~p T 2]d- -- -- -/ -P0 -0 - 1 - 0 BK  $&091<@x !5 &.*J././@LongLink0000644000000000000000000000020600000000000011601 Lustar rootrootlibexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-root/usr/lib/debug/.build-id/fb/d7445077fb510d63bf75fd74a8c7262c551c57.debuglibexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-root/usr/lib/debug/.build-id/fb/d7445077fb50000644000175000017500000001742013173400002031706 0ustar giuliagiuliaELF>@P@8@#"  X  $$Ptd` ` 4QtdRtd GNUDPwQ cut&,UWGCC: (Debian 7.1.0-13) 7.1.0,pyxMU]LWwfv˖]FtY@Qh6 ɂcKmb&@l(?QKH i66>Il*FԴs΢$sssv42)D8&9ba sƗ}V[[ź})NCaL3S†#<^ª;m蟡{Ѯ9.p&.QRoeĵzɼ'?%djGH-WHK2%.Pi~͗x0@Iv{s&nI)dLuNW7i,m ' )o DfA>6!I|-^!@:KΘC$+-3$,7Y+A&MEloSf3kd7WEN !%0(/9sLQ8OmdxVȫDBx,s㬳!ލj2`ž(D8 n;v+],<򥌊 aNT=etcTqy]6;/l!qJU€r^>!l .YhdЍa'^-'[`j'lIzAfόܰs?aLoE+~ь^sN%+a_ H\̬rv+"<׵6/|Eav#a*2)ȽƄHͱ[ygԆ zrh֑ 9R.!@GxC\FQ/xX99,g#O3;狥-mGo TTfۻo].ފӛr{T7%Mi]ta57fm'݀bͤ4_>Έ jB6x43(A-"cy6ACTW Nͫ臏GŧxuPR@IDG >"oڃX\,>#鍓L8tLRFSc964N=>b¯@<Rtl_@Ғ8G3Z Βfm,ݗ{1D'aqဖVNv]Β*b c6ʁǻUBA oک '#\`zSï-QFj廵݈@)J:!nEpq ӄo&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C܎o&0sx*u QIK{;!$&vj󐮅gZVԜ??l\Nd&BiFf)$ARO59|x"r 8pn\Lf-&'6 M]WP@fM}<~y`~މGmH1:ta{u]m2Ij~EĎ[¦~AFo"Cm.&zw; ,sr%e&R|KE K!(i!02!=#|g]rm$}q<܃LNp][uFQS$D,pO:9DQJаn&66*j.23_5l2Qo5:FXL{j>5#nrn`6C4|aR''  EU'F2woYw5!+l`D: [:4,]z0!/G1NN_Dxi66M';z^U{mY$I[ ~ƫcuXh"ѓ5 kv+%Ex>uxpH莀dxOvo uƝ/ї(e=o菒fyGB=£;e.#Z1RonUR2wgksvS_>.\>7?oiSﻟt?TLy libexecs-1.1/debian/libexecs-dev/usr/share/man/man3/execse.3.gz0000777000175000017500000000000013173400660025365 2execs.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/execsp.3.gz0000777000175000017500000000000013173400660025400 2execs.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/execspe.3.gz0000777000175000017500000000000013173400660025545 2execs.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/pclose_execs.3.gz0000777000175000017500000000000013173400660027626 2popen_nosh.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/pclose_execsp.3.gz0000777000175000017500000000000013173400660030006 2popen_nosh.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/pclose_nosh.3.gz0000777000175000017500000000000013173400660027466 2popen_nosh.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/system_execsr.3.gz0000777000175000017500000000000013173400660030252 2system_nosh.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/popen_execsp.3.gz0000777000175000017500000000000013173400660027642 2popen_nosh.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/system_nosh.3.gz0000644000175000017500000000345313173400001024647 0ustar giuliagiuliaWmoF9w\Qٕ,9# 9&w]Rz]Rh833-Z/nmJ,2cKT+j vYD\bkj]Bg` ds%7h,Sԙ^)ç~mT)ԑ,vܟZZzL "XluP/4rY$d8 Nd嗕J@F(A9 ZZf2vCBo['y`5d@R @I߽}Vpu( `ю#5r׺ ֤<~YKpaZeA`v>&hvwA˵AKE&I5gras*nw$ӻ ;vz0S@ƽlp5&0OƷ~0El|wJJsM&X (薐f )1Rf% Ƹf2]'= S*wzQa(tL"2-I\˔ \gZ2ߖ|pv힝v_u^ rtzOMSE[JU}+#͉D+`Իэ18~aS!K ¬*.x.: ε+N4MF`DTqV%olњzir0[З$5X+[B^v[VSX<+uĒ'B Z?e櫸C- >"񍊾6sF.J\(ZfJSR\̽]ׯd0 nG"<:&r*/H.%.n);1h( I a,ZwחCR6<^-Qޛ9FXKL*D.ZW}DHe]&b-ˌZTXڀxQ@+d SB!wDSDT钜AI6@j!.qǙ7AUymJ6㘋.q'F(9TI ?h$bCMe7:{YQmeFDhg>ir5fOx1?UgF=yp˔Fi@ƸPRR?y\' }`Pu4r!h#Xb<QEȎZ1GR[VE%7 .,mT:1'D ZǤz6lڒ MQ%yC"D[dֺ%Ro9^s@'cV)٩IvN(\ @Z<|O4z7 FxNM9ԣ7!J2B=ȯFcӾ01HBjeZh4U#1B̕%e˽/Ƭ-l>oŸr[!j#DGVyOfJרrFX:/{Mu;@Y'-x7"AZ;BjsR | <׶vmLj4=/nþZg~`8y ++Vf~bⶀſHPj^ Homw Ԧr~=쏠{vC;GNͻq, ^*>^/ enۂm!`$p,Ú Mm]o͇zn`]!ɲKoեAJwNoN_ݣ=g>ى\Nj \׉$1|mrTe;"mV?;%9]#'-m>[lXlibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/system_eexecsp.3.gz0000777000175000017500000000000013173400660027533 2esystem.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/system_execsp.3.gz0000777000175000017500000000000013173400660030250 2system_nosh.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/system_execs.3.gz0000777000175000017500000000000013173400660030070 2system_nosh.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/system_execsa.3.gz0000777000175000017500000000000013173400660030231 2system_nosh.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/system_execsra.3.gz0000777000175000017500000000000013173400660030413 2system_nosh.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/system_execsrp.3.gz0000777000175000017500000000000013173400660030432 2system_nosh.3.gzustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/s2argv.3.gz0000644000175000017500000000316413173400001023477 0ustar giuliagiuliaWmo9st$5ttiIHie&b{S‰~3n^J6=gyf g'`^^Bk j!YTbMSt+Lk- ni8sTV YLɅ =T wZP1lYoC_a^t2d$hNEgJ6*X:~8:t;ώ:ӨKwы㿠Nh[,\ h ,HfycWLFF0^_0;-e(ϱ: &`cDG7Qԏ geVI-\Ǽ=ſpl1/'O<&"3ZhN#6m/:Ga+8O ,=%+|jCP/~vܯA2N{T}J\Xl,x}si x,># +Xzo.23Kh">jXT &bjxغ}ш>=SBY0<le*tpYϕṈq!m1vd'gr!)%dm`8 g"!IN`٢ TS-ǔE4e(ahm2%wKt͐,c:0b!QYEO޸{qLUx47$&%KEY }˕}z>NB\bEh6ER@iKsiK̸7;vLFsIj#46@US *;g zk1%;̋&BQ;*اOj4蹋}}PB FpN:gde%Ap2 P4quH`9zC? -L&} ~Ոs4L?x'A¦M766ovǙl&qkX6PZk~-Mp^W !'q'GNPnceYA;*Jh߂0Aw];5&s:rt+!$n2Uθ]sҝ#}zR硴 libexecs-1.1/debian/libexecs-dev/usr/share/man/man3/coprocess.3.gz0000644000175000017500000000231013173400001024263 0ustar giuliagiuliaVmoF_1r?4HOt&K AzZ5^캻k8;y j<;ϼSĢ"J ;OS R!7nj­(֒3 -;?È?|!K3&-TLAsÍ4>/9 O3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ax:U8fυMTmE@o0-@rpkOq \ۅN? >{ۄVs,RD+`evVOD/UX_bm毼wDBC libexecs-1.1/debian/libexecs-dev/usr/share/doc/libexecs-dev/changelog.Debian.gz0000644000175000017500000000046213173137371026767 0ustar giuliagiuliaKO@ #qiDyR8ݬVl6QvCߓ4ENXcO2 1Xik C_nVzh80tL z6Lc,J:v+,C/"xzWn-|,{[FftTXW~2-M`ǏٲR.+F;m [5L⏿yp, %Yu,ӻ!mmn s ϕG"d\ D"D_㡚v7'hd_iukGk|ė'#Ylibexecs-1.1/debian/libexecs-dev/usr/share/doc/libexecs-dev/copyright0000644000175000017500000000210513061541064025236 0ustar giuliagiuliaFormat: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libexecs Source: https://github.com/rd235/s2argv-execs/ Files: * Copyright: 2014 Renzo Davoli License: GPL-2+ Files: debian/* Copyright: 2017 Giulia Cantini License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". libexecs-1.1/debian/libexecs0/usr/share/doc/libexecs0/changelog.Debian.gz0000644000175000017500000000046213173137371025577 0ustar giuliagiuliaKO@ #qiDyR8ݬVl6QvCߓ4ENXcO2 1Xik C_nVzh80tL z6Lc,J:v+,C/"xzWn-|,{[FftTXW~2-M`ǏٲR.+F;m [5L⏿yp, %Yu,ӻ!mmn s ϕG"d\ D"D_㡚v7'hd_iukGk|ė'#Ylibexecs-1.1/debian/libexecs0/usr/share/doc/libexecs0/copyright0000644000175000017500000000210513061541064024046 0ustar giuliagiuliaFormat: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libexecs Source: https://github.com/rd235/s2argv-execs/ Files: * Copyright: 2014 Renzo Davoli License: GPL-2+ Files: debian/* Copyright: 2017 Giulia Cantini License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". libexecs-1.1/debian/libexecs-embedded0/usr/share/doc/libexecs-embedded0/copyright0000644000175000017500000000210513061541064027324 0ustar giuliagiuliaFormat: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libexecs Source: https://github.com/rd235/s2argv-execs/ Files: * Copyright: 2014 Renzo Davoli License: GPL-2+ Files: debian/* Copyright: 2017 Giulia Cantini License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". libexecs-1.1/debian/libexecs-embedded0/usr/share/doc/libexecs-embedded0/changelog.Debian.gz0000644000175000017500000000046213173137371031055 0ustar giuliagiuliaKO@ #qiDyR8ݬVl6QvCߓ4ENXcO2 1Xik C_nVzh80tL z6Lc,J:v+,C/"xzWn-|,{[FftTXW~2-M`ǏٲR.+F;m [5L⏿yp, %Yu,ӻ!mmn s ϕG"d\ D"D_㡚v7'hd_iukGk|ė'#Ylibexecs-1.1/debian/tmp/usr/share/man/man3/s2argv.30000644000175000017500000000664213173400001021312 0ustar giuliagiulia.\"* s2argv: convert strings to argv .\" Copyright (C) 2014 Renzo Davoli. University of Bologna. .\" .\" This library is free software; you can redistribute it and/or .\" modify it under the terms of the GNU Lesser General Public .\" License as published by the Free Software Foundation; either .\" version 2.1 of the License, or (at your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Lesser General Public License for more details. .\" .\" You should have received a copy of the GNU Lesser General Public .\" License along with this library; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .TH S2ARGV 3 2014-05-27 "VirtualSquare" "Linux Programmer's Manual" .SH NAME s2argv \- convert a command string in an argv array .SH SYNOPSIS .B #include .br .B #include .br .B #include .sp .BI "char **s2argv(const char *" args ");" .br .BI "void s2argv_free(char **" argv ");" .sp .br .BI "size_t s2argvlen(char **" argv ");" .sp .br .BI "size_t s2argc(char **" argv ");" .sp .br .BI "typedef char * (* s2argv_getvar_t) (const char *name);" .br .BI "extern s2argv_getvar_t s2argv_getvar;" .sp These functions are provided by libexecs and libeexecs. Link with \fI-lexecs\fR or \fI-leexecs\fR. .sp .SH DESCRIPTION .BR s2argv convert a command string in an argv array for \fBexecv\fR(3), \fBexecvp\fR(3) or \fBexecvpe\fR(3). Single or double quotes can be used to delimitate command arguments including spaces and a non quoted backslash (\fB\e\fP) is the escape character to protect the next char. .br \fBs2argv\fR can parse several commands separated by semicolons (\fB;\fR). The argv of each command is terminated by a NULL element, one further NULL element tags the end of the array returned by s2argv. .br \fBs2argv\fR supports variables as arguments. When an argument of a command is a dollar sign followed by a name (e.g. $USER) \fBs2argv\fR puts the output of the \fBs2argv_getvar\fR function instead. (The default value is \fBs2argv_getvar=getenv\fR. Programmers can use their own custom function instead). .sp .BR s2argv_free frees the memory that was allocated by \fBs2argv\fR. .sp .BR s2argvlen returns the length of the array returned by \fBs2argv\fR. .sp .BR s2argc returns the number of arguemnts of the (first) command returned by \fBs2argv\fR. (The beginning of the next argv is \fBargv+s2argc(argv)+1\fR). .SH RETURN VALUE .BR s2argv returns a dynamically allocated argv, ready to be used as an argument to \fBexecv\fR(3), \fBexecvp\fR(3) or \fBexecvpe\fR(3). The return value of .BR s2argv should be freed by .BR s2argv_free in case the exec command does not succeed. .SH EXAMPLE The following program demonstrates the use of \fBs2argv\fR: .BR .sp \& .nf #include #include #include #include #define BUFLEN 1024 int main(int argc, char *argv) { char buf[BUFLEN]; printf("type in a command and its arguments, e.g. 'ls -l'\\n"); if (fgets(buf, BUFLEN, stdin) != NULL) { char **argv=s2argv(buf); execvp(argv[0], argv); s2argv_free(argv); printf("exec error\\n"); } } .fi .SH SEE ALSO .BR exec (3) .SH BUGS Bug reports should be addressed to .SH AUTHOR Renzo Davoli libexecs-1.1/debian/tmp/usr/share/man/man3/execs.30000644000175000017500000000670013173400001021210 0ustar giuliagiulia.\"* execs: convert strings to argv .\" Copyright (C) 2014 Renzo Davoli. University of Bologna. .\" .\" This library is free software; you can redistribute it and/or .\" modify it under the terms of the GNU Lesser General Public .\" License as published by the Free Software Foundation; either .\" version 2.1 of the License, or (at your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Lesser General Public License for more details. .\" .\" You should have received a copy of the GNU Lesser General Public .\" License along with this library; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .TH execs 3 2014-05-27 "VirtualSquare" "Linux Programmer's Manual" .SH NAME execs, execsp, execspe \- execute a file taking its arguments from a string .SH SYNOPSIS .B #include .br .B #include .sp .BI "int execs(const char *" path ", const char *" args ");" .br .BI "int execse(const char *" path ", const char *" args ", char *const " envp "[]);" .br .BI "int execsp(const char *" args ");" .br .BI "int execspe(const char *" args ", char *const " envp "[]);" .sp .sp .sp .BI "int eexecs(const char *" path ", char *" args ");" .br .BI "int eexecse(const char *" path ", char *" args ", char *const " envp "[]);" .br .BI "int eexecsp(char *" args ");" .br .BI "int eexecspe(char *" args ", char *const " envp "[]);" .sp These functions are provided by libexecs and libeexecs. Link with \fI-lexecs\fR or \fI-leexecs\fR. .SH DESCRIPTION This group of functions extends the family of \fBexec\fR(3) provided by the libc. .br \fBexecs\fR, \fBexecse\fR, \fBexecsp\fR and \fBexecspe\fR are similar to \fBexecv\fR(3), \fBexecve\fR(2), \fBexecvp\fR(3) and \fBexecvpe\fR(3), respectively, but take the command line arguments for the file to execute (and the also the command name for \fBexecsp\fR(3) and \fBexecspe\fR(3)) by parsing a command string \fIargs\fR. .br Command arguments in \fIargs\fR are delimited by space characters (blank, tabs or new lines). Single or double quotes can be used to delimitate command arguments including spaces and a non quoted backslash (\fB\e\fP) is the escape character to protect the next char. .br \fBexecs\fR, \fBexecse\fR, \fBexecsp\fR and \fBexecspe\fR do not use dynamic allocation but require space on the stack to store an entire copy of \fIargs\fR. \fBeexecs\fR, \fBeexecse\fR, \fBeexecsp\fR and \fBeexecspe\fR do not use extra stack space but modify \fIargs\fR. In case the same argv should be used for several exec command, use \fBs2argv\fR(3) to parse the args just once. .SH RETURN VALUE These functions return only if an error has occurred. The return value is always \-1. The failure cases and errno values are those specified for \fBexecve\fR(2). .SH EXAMPLE The following program demonstrates the use of \fBexecs\fR: .BR .sp \& .nf #include #include #include #define BUFLEN 1024 int main(int argc, char *argv) { char buf[BUFLEN]; printf("type in a command and its arguments, e.g. 'ls -l'\\n"); if (fgets(buf, BUFLEN, stdin) != NULL) { execsp(buf); printf("exec error\\n"); } } .fi .SH SEE ALSO .BR exec (3), s2argv (3) .SH BUGS Bug reports should be addressed to .SH AUTHOR Renzo Davoli libexecs-1.1/debian/tmp/usr/share/man/man3/system_nosh.30000644000175000017500000001013013173400001022444 0ustar giuliagiulia.\"* system_nosh: system replacement not using any shell .\" Copyright (C) 2014 Renzo Davoli. University of Bologna. .\" .\" This library is free software; you can redistribute it and/or .\" modify it under the terms of the GNU Lesser General Public .\" License as published by the Free Software Foundation; either .\" version 2.1 of the License, or (at your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Lesser General Public License for more details. .\" .\" You should have received a copy of the GNU Lesser General Public .\" License along with this library; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .TH system_nosh 3 2014-05-27 "VirtualSquare" "Linux Programmer's Manual" .SH NAME system_nosh, system_execs \- execute a command with its arguments from a string without using a shell .SH SYNOPSIS .B #include .br .B #include .sp .BI "int system_nosh(const char *" command ");" .br .BI "int system_execsp(const char *" command ");" .sp .BI "int system_execsa(const char *" command ");" .br .BI "int system_execs(const char *" path ", char const *" command ");" .sp .BI "int system_execsrp(const char *" command ", int " redir "[3]);" .sp .BI "int system_execsra(const char *" command ", int " redir "[3]);" .br .BI "int system_execsr(const char *" path ", char const *" command ", int " redir "[3]);" .sp These functions are provided by libexecs. Link with \fI-lexecs\fR. .SH DESCRIPTION \fBsystem_nosh\fR is an almost drop in replacement for \fBsystem\fR(3) provided by the libc. \fBsystem_nosh\fR parses the command string and runs the command directly, without using a shell. (\fBsystem_execsp\fR and \fBsystem_nosh\fR are synonyms). .br Command arguments in \fIargs\fR are delimited by space characters (blank, tabs or new lines). Single or double quotes can be used to delimitate command arguments including spaces and a non quoted backslash (\fB\e\fP) is the escape character to protect the next char. The executable file is sought using the PATH environment variable as explained for \fBexeclp\fR(3). .br \fBsystem_execs\fR requires the path of the executable to be specified as its first parameter so it does not use the PATH environment variable. .br \fBsystem_execsa\fR does not use the PATH variable, argv[0] must be specified as a full pathname. .br \fBsystem_execsrp\fR and \fBsystem_execsr\fR works as their couterparts without the 'r', but they permit the redirection of standard input, output and error streams. Their last parameter is an array of three integers. The standard input of the command will be redirected to \fBredir[0]\fR if it is positive, the standard output to \fBredir[1]\fR if it is not negative and different from 1, the standard error to \fBredir[2]\fR if it is not negative and different from 2. .br \fBsystem_execsra\fR does not use the PATH variable, argv[0] must be specified as a full pathname. .br All these functions can run sequences of commands separated by semicolons (\fB;\fR). The first command returning a non-zero exit status breaks the sequence. .SH RETURN VALUE These functions have the same return values of \fBsystem\fR(3). When running a sequence of commands, it returns the exit status of the first command returning a non-zero value. If the return value is zero it means that all the commands of the sequence succeeded. .SH EXAMPLE The following program shows the usage of \fBsystem_nosh\fR: .BR .sp \& .nf #include #include #include #define BUFLEN 1024 int main(int argc, char *argv) { char buf[BUFLEN]; printf("type in a command and its arguments, e.g. 'ls -l'\\n"); while (fgets(buf, BUFLEN, stdin) != NULL) { printf("Command: '%s' \\n",buf); system_nosh(buf); printf("Command done\\n"); } } .fi .SH SEE ALSO .BR system (3), execs (3), s2argv (3) .SH BUGS Bug reports should be addressed to .SH AUTHOR Renzo Davoli libexecs-1.1/debian/tmp/usr/share/man/man3/popen_nosh.30000644000175000017500000000514613173400001022254 0ustar giuliagiulia.\"* popen_nosh: system replacement not using any shell .\" Copyright (C) 2014 Renzo Davoli. University of Bologna. .\" .\" This library is free software; you can redistribute it and/or .\" modify it under the terms of the GNU Lesser General Public .\" License as published by the Free Software Foundation; either .\" version 2.1 of the License, or (at your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Lesser General Public License for more details. .\" .\" You should have received a copy of the GNU Lesser General Public .\" License along with this library; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .TH popen_nosh 3 2014-05-27 "VirtualSquare" "Linux Programmer's Manual" .SH NAME popen_nosh, pclose_nosh, popen_execs, pclose_execs, \- pipe stream to or from a process without using a shell .SH SYNOPSIS .B #include .br .B #include .sp .BI "FILE *popen_nosh(const char *" command ", const char *" type ");" .br .BI "int pclose_nosh(FILE *" stream ");" .sp .BI "FILE *popen_execsp(const char *" command ", const char *" type ");" .br .BI "int pclose_execsp(FILE *" stream ");" .sp .BI "FILE *popen_execs(const char *" path ",const char *" command ", const char *" type ");" .br .BI "int pclose_execs(FILE *" stream ");" .sp These functions are provided by libexecs. Link with \fI-lexecs\fR. .SH DESCRIPTION \fBpopen_nosh\fR, \fBpopen_execsp\fR and \fBpclose_nosh\fR are almost drop in replacement for \fBpopen\fR(3) and \fBpclose\fR(3) provided by the libc. \fBpopen_nosh\fR and \fBpopen_execsp\fR are synonyms: they parse the command string and run the command directly, without using a shell. .br Command arguments in \fIargs\fR are delimited by space characters (blank, tabs or new lines). Single or double quotes can be used to delimitate command arguments including spaces and a non quoted backslash (\fB\e\fP) is the escape character to protect the next char. The executable file is sought using the PATH environment variable as explained for \fBexeclp\fR(3). .br \fBpclose_nosh\fR closes a stream opened by \fBpopen_nosh\fR. .br \fBpopen_execs\fR requires the path of the executable to be specified as its first parameter so it does not use the PATH environment variable. \fBpclose_execs\fR closes a stream opened by \fBpopen_execs\fR. .SH RETURN VALUE These functions have the same return values of \fBpopen\fR(3) and \fBpclose\fR(3). libexecs-1.1/debian/tmp/usr/share/man/man3/coprocess.30000644000175000017500000000611013173400001022074 0ustar giuliagiulia.\"* coprocess: exec extensions for coprocesing .\" Copyright (C) 2014 Renzo Davoli. University of Bologna. .\" .\" This library is free software; you can redistribute it and/or .\" modify it under the terms of the GNU Lesser General Public .\" License as published by the Free Software Foundation; either .\" version 2.1 of the License, or (at your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Lesser General Public License for more details. .\" .\" You should have received a copy of the GNU Lesser General Public .\" License along with this library; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .TH coprocess 3 2014-05-27 "VirtualSquare" "Linux Programmer's Manual" .SH NAME coprocv, coprocvp, coprocvpe, coprocs, coprocsp \- execute a command in coprocessing mode .SH SYNOPSIS .B #include .sp .BI "pid_t coprocv(const char *" path ", char *const " argv "[], int " pipefd "[2]);" .br .BI "pid_t coprocve(const char *" path ", char *const " argv "[]," .br .BI " char *const " envp "[], int " pipefd "[2]);" .br .BI "pid_t coprocvp(const char *" file ", char *const " argv "[], int " pipefd "[2]); .br .BI "pid_t coprocvpe(const char *" file ", char *const " argv "[]," .br .BI " char *const " envp "[], int " pipefd "[2]); .sp .BI "pid_t coprocs(const char *" path ", const char *" command ", int " pipefd "[2]); .br .BI "pid_t coprocse(const char *" path ", const char *" command "," .br .BI " char *const " envp "[], int " pipefd "[2]); .br .BI "pid_t coprocsp(const char *" command ", int " pipefd "[2]); .br .BI "pid_t coprocspe(const char *" command ", char *const " envp "[]," .br .BI " int " pipefd "[2]); .sp These functions are provided by libexecs. Link with \fI-lexecs\fR. .SH DESCRIPTION These functions run commands in coprocessing mode. They differs in the way to specify the executable file to run and its parameters. All of them define two pipes (by \fBpipe\fR(2)), create a new process by \fBfork\fR(2), redirect the standard input and output of the new process in the two pipes, and exec a program by one of the \fBexec\fR(3) functions. .sp The calling program controls both the standard input and the standard output of the called process: writing to \fBpipefd[1]\fR provides input to the coprocess while the coprocess output can be retrieved from \fBpipefd[0]\fR. .sp \fBcoprocv\fR, \fBcoprocve\fR, \fBcoprocvp\fR, \fBcoprocvpe\fR, \fBcoprocs\fR, \fBcoprocse\fR, \fBcoprocsp\fR, and \fBcoprocsp\fR differ as they define the executable file to run and its arguments as \fBexecv\fR, \fBexecve\fR, \fBexecvp\fR, \fBexecvpe\fR, \fBexecs\fR, \fBexecse\fR, \fBexecsp\fR, and \fBexecsp\fR, repectively. .SH BUGS Bug reports should be addressed to .SH AUTHOR Renzo Davoli libexecs-1.1/debian/tmp/usr/share/man/man3/esystem.30000644000175000017500000000517113173400001021573 0ustar giuliagiulia.\"* esystem: system replacement not using any shell (iversion for embedded systems) .\" Copyright (C) 2014 Renzo Davoli. University of Bologna. .\" .\" This library is free software; you can redistribute it and/or .\" modify it under the terms of the GNU Lesser General Public .\" License as published by the Free Software Foundation; either .\" version 2.1 of the License, or (at your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Lesser General Public License for more details. .\" .\" You should have received a copy of the GNU Lesser General Public .\" License along with this library; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .TH system_nosh 3 2014-05-27 "VirtualSquare" "Linux Programmer's Manual" .SH NAME esystem, system_eexecsp \- execute a command with its arguments from a string without using a shell .SH SYNOPSIS .B #include .br .B #include .sp .BI "int esystem(const char *" command ");" .br .BI "int system_eexecsp(const char *" command ");" .sp These functions are provided by libexecs and libeexecs. Link with \fI-lexecs\fR or \fI-leexecs\fR. .SH DESCRIPTION \fBesystem\fR is an almost drop in replacement for \fBsystem\fR(3) provided by the libc. \fBesystem\fR parses the command string and runs the command directly, without using a shell. (\fBsystem_eexecsp\fR and \fBesystem\fR are synonyms). .br Command arguments in \fIargs\fR are delimited by space characters (blank, tabs or new lines). Single or double quotes can be used to delimitate command arguments including spaces and a non quoted backslash (\fB\e\fP) is the escape character to protect the next char. The executable file is sought using the PATH environment variable as explained for \fBexeclp\fR(3). .br .SH RETURN VALUE These functions have the same return values of \fBsystem\fR(3). .SH EXAMPLE The following program shows the usage of \fBesystem\fR: .BR .sp \& .nf #include #include #include #define BUFLEN 1024 int main(int argc, char *argv) { char buf[BUFLEN]; printf("type in a command and its arguments, e.g. 'ls -l'\\n"); while (fgets(buf, BUFLEN, stdin) != NULL) { printf("Command: '%s' \\n",buf); esystem(buf); printf("Command done\\n"); } } .fi .SH SEE ALSO .BR system (3), execs (3), s2argv(3), system_nosh(3) .SH BUGS Bug reports should be addressed to .SH AUTHOR Renzo Davoli libexecs-1.1/debian/tmp/usr/share/man/man3/system_eexecsp.30000777000175000017500000000000013173400660024723 2esystem.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/execse.30000777000175000017500000000000013173400660022555 2execs.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/execsp.30000777000175000017500000000000013173400660022570 2execs.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/execspe.30000777000175000017500000000000013173400660022735 2execs.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/eexecs.30000777000175000017500000000000013173400660022555 2execs.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/eexecse.30000777000175000017500000000000013173400660022722 2execs.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/eexecsp.30000777000175000017500000000000013173400660022735 2execs.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/eexecspe.30000777000175000017500000000000013173400660023102 2execs.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/system_execs.30000777000175000017500000000000013173400660025260 2system_nosh.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/system_execsp.30000777000175000017500000000000013173400660025440 2system_nosh.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/system_execsa.30000777000175000017500000000000013173400660025421 2system_nosh.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/system_execsr.30000777000175000017500000000000013173400660025442 2system_nosh.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/system_execsrp.30000777000175000017500000000000013173400660025622 2system_nosh.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/system_execsra.30000777000175000017500000000000013173400660025603 2system_nosh.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/pclose_nosh.30000777000175000017500000000000013173400660024656 2popen_nosh.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/popen_execsp.30000777000175000017500000000000013173400660025032 2popen_nosh.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/pclose_execsp.30000777000175000017500000000000013173400660025176 2popen_nosh.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/popen_execs.30000777000175000017500000000000013173400660024652 2popen_nosh.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/pclose_execs.30000777000175000017500000000000013173400660025016 2popen_nosh.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/coprocv.30000777000175000017500000000000013173400660023645 2coprocess.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/coprocve.30000777000175000017500000000000013173400660024012 2coprocess.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/coprocvp.30000777000175000017500000000000013173400660024025 2coprocess.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/coprocvpe.30000777000175000017500000000000013173400660024172 2coprocess.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/coprocs.30000777000175000017500000000000013173400660023642 2coprocess.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/coprocse.30000777000175000017500000000000013173400660024007 2coprocess.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/coprocsp.30000777000175000017500000000000013173400660024022 2coprocess.3ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/coprocspe.30000777000175000017500000000000013173400660024167 2coprocess.3ustar giuliagiulialibexecs-1.1/debian/libexecs0/usr/lib/x86_64-linux-gnu/libexecs.so.00000777000175000017500000000000013173400660027120 2libexecs.so.0.9.0ustar giuliagiulialibexecs-1.1/debian/libexecs0/usr/lib/x86_64-linux-gnu/libexecs.so.0.9.00000644000175000017500000003455013173400002024621 0ustar giuliagiuliaELF>@2@8@ -- -  -- - $$PtddddQtdRtd-- - 00GNUp[䯂Zv 9cq]({"#&'(+/1Nw ЭOqX1$Ca|)1BE^lëYh&Dq/MdKm%)E C>! IW}8 R"Q9 P T `a ` 1  #t`1 Z1  @ 1 1  7l  0 @m1 Z^ 0V%1 ~1 __gmon_start___init_fini_ITM_deregisterTMCloneTable_ITM_registerTMCloneTable__cxa_finalizegetvar_nullactionnextstates2argv_getvars2argvstrlencalloc__strdup__printf_chk__stack_chk_fails2argv_frees2argvlens2argcs2multiargvexecs_commonexecveexecvpeexecs_fork_security_argexecs_fork_securityforkdup2_exitwaitpidexecvexecvpsystem_execsrcoprocess_commonpipe2popen_execsmalloc__errno_locationfdopenfcntlpclose_execsfcloselibc.so.6__environ_edata__bss_start_endlibexecs.so.0GLIBC_2.9GLIBC_2.3.4GLIBC_2.11GLIBC_2.4GLIBC_2.2.5ii ti  ii #ui -- P- 0 0 / / 1/ / / $/ )/ 0/ / ./ 1  0  0 (0 00 80 @0 H0 P0  X0  `0  h0  p0 x0 0 0 ,0 -0 0 0 0 0 0 0 HH! HtH5" %" @%" h% " h%" h%! h%! h%! h%! h%! hp%! h`%! h P%! h @%! h 0%! h %! h %! h%! h%! h%! h%! h%z! h%r! h%j! h%b! h% fH=A" UH9" H9HtH Ht ]f.]@f.H=" H5! UH)HHHH?HHtH Ht ]f]@f.=! u/H= UHt H= =H! ]fDUH]ffDH AWAVIAUATIUSE1E1HH-Z QHIIHB(ǃ <A@AHH IJ('EA"qA'At'!A;AtA\ADH / 0 0 0 0 272 ` TTTTTTTTTTTTgetvar_nullactionnextstates2argv_getvars2argvs2argv_frees2argvlens2argcs2multiargvexecs_commonexecs_fork_security_argexecs_fork_securitysystem_execsrcoprocess_commonpopen_execspclose_execsexecs.o/ 0 0 0 644 4744 ` ELF>@@ HAWAVHAUATIUS1E1L5H(L%GfHIEIL(ǃ <A@AHHLH(+DA"mA't$&A;tA\@H8@@ AUATIUSHHdH%(HD$1HHHEHtQ1ۋ@H@8@  @X  $$Ptd` ` ` 44QtdRtd GNUDPwQ cut&,UW ,(Q BE|O$Ca^lëDqqX$)MdE  8 R"( @ a pt Z0  ( 8 m` Z ( T ~  __gmon_start___init_fini_ITM_deregisterTMCloneTable_ITM_registerTMCloneTable__cxa_finalizegetvar_nullactionnextstates2argv_getvarexecs_commonexecveexecvpe__stack_chk_failexecs_fork_security_argexecs_fork_securitylibc.so.6_edata__bss_start_endlibexecs-embedded.so.0GLIBC_2.2.5GLIBC_2.11GLIBC_2.4ui *ii 5 `  @ @               ( HH HtH5 % @% h% h% h%r fH= UH H9HtH Ht ]f.]@f.H=Q H5J UH)HHHH?HHtH Ht ]f]@f.= u/H= UHt H= =H ]fDUH]ffDHAWAVIAUATIUSE1E1HH-J QHIIHB(ǃ <A@AHH IJ('EA"qA'At'!A;AtA\ADH / 0 0 0 0 132 ` """""""getvar_nullactionnextstates2argv_getvarexecs_commonexecs_fork_security_argexecs_fork_security// 30 ` libexecs_embedded_la-execs.o/ /0 0 0 0 644 3176 ` ELF>@@ HAWAVHAUATIUS1E1L5H(L%GfHIEIL(ǃ <A@AHHLH(+DA"mA't$&A;tA\@H@@8@#" -- -  -- - $$PtddddQtdRtd-- - 00GNUp[䯂Zv 9cq]({"#&'(+/1Nw ЭOqX1$Ca|)1BE^lëYh&Dq/MdKm%)E C>! IW}8 R"Q9 P T `a ` 1  #t`1 Z1  @ 1 1  7l  0 @m1 Z^ 0V%1 ~1 __gmon_start___init_fini_ITM_deregisterTMCloneTable_ITM_registerTMCloneTable__cxa_finalizegetvar_nullactionnextstates2argv_getvars2argvstrlencalloc__strdup__printf_chk__stack_chk_fails2argv_frees2argvlens2argcs2multiargvexecs_commonexecveexecvpeexecs_fork_security_argexecs_fork_securityforkdup2_exitwaitpidexecvexecvpsystem_execsrcoprocess_commonpipe2popen_execsmalloc__errno_locationfdopenfcntlpclose_execsfcloselibc.so.6__environ_edata__bss_start_endlibexecs.so.0GLIBC_2.9GLIBC_2.3.4GLIBC_2.11GLIBC_2.4GLIBC_2.2.5ii ti  ii #ui -- P- 0 0 / / 1/ / / $/ )/ 0/ / ./ 1  0  0 (0 00 80 @0 H0 P0  X0  `0  h0  p0 x0 0 0 ,0 -0 0 0 0 0 0 0 HH! HtH5" %" @%" h% " h%" h%! h%! h%! h%! h%! hp%! h`%! h P%! h @%! h 0%! h %! h %! h%! h%! h%! h%! h%z! h%r! h%j! h%b! h% fH=A" UH9" H9HtH Ht ]f.]@f.H=" H5! UH)HHHH?HHtH Ht ]f]@f.=! u/H= UHt H= =H! ]fDUH]ffDH AWAVIAUATIUSE1E1HH-Z QHIIHB(ǃ <A@AHH IJ('EA"qA'At'!A;AtA\ADH rv`t6r= MU~T0Q0K eU~= U~TsQw!UsT|#B `C 6" "6e+#-Cg`i+7mC len`##PCCW $W UUC* g` buf* CW%m i`& $P' (Rc U1T~= UsT}Qwn 6) = UsT0Q0K Usz  U| $ &T8{B = 6)&P`p Pa PC bufPE JR` gS`P T *V` +U~{L` ,PLU-f`* .f/0oo*0Q10PP 0 2!!W0KKD0  W r.aR^66Tintllee6 0 |E ze   ^  l( 0 8 :@ H 5P :X }` .h ep P et sx /I lW   !~ ) * + , .+ X/e 1  } } v be L 6 E6T;<;= eEe))e)b "t  $t 9 Ge Le Pe= 6 66@- -. .( ) "1  a K  U a e a bpidcO d  g$f 1 e`  - @ l@eTOG   uT|Q0 Us- Us Q Gh@Kh|h(h fdj!newk~le fUwT@?$ }UH ), T1v18 :8 [D U~T}R}eO U 8 [ ,Ts8 8  ^UD vU|!g T2Q1*8 Uv2 Um U :O@ K:D|:;@ z5;@ a;aH) f=>!pid?O"3 /T #Y F#N i#C  /$d r U|1D U~T|QRw 0 UvT@?$" O Uv@T@?$, \, s T0n, T1{8 8 8 8 ~ U~T}QO U8 8  U|%=> 2e0V K2 |2XU2a63<Pl UTT Qw &e- 't(arg)v- *@e)pidO+)ie <&/8ep 'K8'8'58@ )buf9p  ,6- 9 # # P. / D. 0 o # D# 12 2 2 3! DTA ." ^, 3 Tsk8  Y T|' T| O U TDQ0  46) 55 25V676 66aa 6mm 6 d5GG66 ^645[[6PP6oo *6 Q56 6666 E% : ; I$ > $ >   I&I : ;  : ; I8 : ;I8 : ; I !I/ <4: ;I?<7I'II4: ; I?<!4: ; I?4G: ; .?: ; 'I@B: ; I: ; I4: ; I4I41B1!I/ 4: ; I!"!I#.?: ; '@B$B1% &1RUX Y '1(1).: ; 'I@B* U+,: ; I-.?: ; 'I 4.: ; I/0.?<n: ;1.?<n2.?<n: ; % : ; I$ > &I$ > I!I/   I  : ;  : ; I8 : ;I8 : ; <4: ;I?<'II4: ; I?<! : ; I8 4: ; I.?: ; 'I@B: ; I4: ; I U 11B1.?: ; 'I@B 4: ; I!4: ; I"1X Y #1$41I%44I&.: ; 'I ': ; I(: ; I)4: ; I*4: ; I+ ,!I-.1@B.41/410 1U1 U2413 14!I/5.?<n: ; 6.?<n: ;7.?<nN /usr/include/x86_64-linux-gnu/bits/usr/lib/gcc/x86_64-linux-gnu/7/include/usr/include.execs.cstdio2.hstddef.htypes.hlibio.hstdio.hsys_errlist.hunistd.hgetopt.hsignal.hexecs.hstring.hstdlib.hstring2.h `;;W5LghG9JGX tvfmffpfJ#K=;KKuQ=N: YvD<Jjffgm&gt!IY;=YWKWu;=0sIX7I9\)Z:LhWI=-[X1-=-tY=;YWKL:I>=Gy4/$-=;tK-Y=e"=s/W ./usr/lib/gcc/x86_64-linux-gnu/7/include/usr/include/x86_64-linux-gnu/bits/usr/include/usr/include/x86_64-linux-gnu/sysnoshell.cexecs.hstddef.htypes.hstdio.hlibio.hsys_errlist.htypes.hunistd.hgetopt.herrno.hsignal.herrno.hwait.hstdlib.hfcntl.hstring.h \0/u!ZsLvqXzXRJ;Y#$/Xa+hx0"Y=e/wy>:=uYwXtsX;=eK;=% tg;;)Y*UyQ'0!s=g}Y;g\X=hkusLfȃ thuoX:YlOY>̭t:callocoptindoptarg_old_offset__printf_chkopaqueenvp_IO_save_endexecs_commonshort intsize_ts2argc_IO_write_ptr_flags_IO_buf_base_sys_nerr__environs2argv_free_markersopterrexecs_fork_security_args2multiargv_sys_errliststderroptoptlong long intaction_locks2argvprintfargs_fsa_cur_column_IO_2_1_stderr___strdup_IO_FILE_plus_posexecs.cexecve_sbuf_IO_FILEthisargunsigned charthisargvs2argv_getvar_t__pad5long long unsigned int_shortbuf_IO_marker_IO_2_1_stdin_args_IO_read_end_IO_write_base_unused2_IO_read_ptr_sys_siglist_IO_buf_endnextstatestrlenGNU C11 7.1.0 -mtune=generic -march=x86-64 -g -O2 -fstack-protector-strong -fPIC_next__pad1__pad2__pad3__pad4thisexecvpes2argv_getvar__fmt_IO_write_end__off64_t_IO_2_1_stdout___off_tshort unsigned int_chain_IO_backup_basestdinpath_flags2_mode_IO_read_base_vtable_offsetgetvar_null_IO_save_basescan_fileno__stack_chk_fails2argvlenstdoutexecs_fork_security_IO_lock_tmallocsystem_execsrpclose_execstypestreamfdopenprogram_invocation_short_nameexecvpprogram_invocation_nameredirfcntlforkpfd_indup2noshell.ccommandpipefdwaitpid_exitfclosepipe2pprevwaitrvpopen_infocoprocess_commonstreamnopfd_outcurr__pid_texecvsystem_execsr_fsystem_execsr_t__errno_locationpopen_listexecseexecsrvarstatuspopen_execsUl_lnUn_Tj^jnTn^QmvmRh]hnRn]  P p4f|n|t||   p $ &1  p $ &1pU^U^T]T]Q\Q\P"pJcsc3$s3$MwwMSSXq0qP0 p $ &1 p $ &1"pUuxU0P0pzUzQUQUpz0zRPRP0 /U/6S6kVkoUopU /U/6S6CPCPSP]P]jS0YUYSU`\|z wwP ] P]0SQ ]enPnwpp8UCXCZ'X8T8OO__'_QqQ q 'Q'.P.nwnQ'w818S'S808\\P'\808^'^8]]2]24']pUUUOUO\U\aU 1 ppO\ 1 Pp 1 ppOZPZ\ 1 P V%P%OVPU^Uu^u|U|e^PT]Tc]cjRju]u|T|]Re]PQSQuSu|Q|eSPu_P`_ vr. vr. vr.U^U^UI^INUT\T\TI\INTQ]Q]T]Q]TI]INQR_R_Q_R_QI_INRXvX-v-XXNXAVPVSP SI_I\I^9Dw%)P)3pp@wUw{q{U@qTq{R{T@tQt{X{Q$U$\U9\$T$VT9V $T$VT9V%=PPIV V+9VI\ \+9\T{S{sSsDx|'I+9 Ix`SX  X     p  T]d- - - / 0 0 1    ! 71 F- m Py-  p 91 0 - d1 0 ' .@^ z P #1   T1 #5I `Vl 0V ` `1 Z1 1  7 0 @/1 ; @Gav1  1 Z" crtstuff.cderegister_tm_clones__do_global_dtors_auxcompleted.7001__do_global_dtors_aux_fini_array_entryframe_dummy__frame_dummy_init_array_entryexecs.cargs_fsanoshell.csystem_execsr_fpopen_list__FRAME_END____dso_handle_DYNAMIC__GNU_EH_FRAME_HDR__TMC_END___GLOBAL_OFFSET_TABLE_s2argvfree@@GLIBC_2.2.5__errno_location@@GLIBC_2.2.5_ITM_deregisterTMCloneTable_exit@@GLIBC_2.2.5s2argv_freefcntl@@GLIBC_2.2.5s2argc_edatafclose@@GLIBC_2.2.5coprocess_common_finistrlen@@GLIBC_2.2.5s2argv_getvar__stack_chk_fail@@GLIBC_2.4dup2@@GLIBC_2.2.5execvpe@@GLIBC_2.11pclose_execs__strdup@@GLIBC_2.2.5execve@@GLIBC_2.2.5calloc@@GLIBC_2.2.5system_execsrgetvar_null__gmon_start__nextstateexecs_fork_security_argmalloc@@GLIBC_2.2.5_ends2argvlenexecs_commons2multiargvfdopen@@GLIBC_2.2.5__bss_startpopen_execs__printf_chk@@GLIBC_2.3.4waitpid@@GLIBC_2.2.5execs_fork_securityexecvp@@GLIBC_2.2.5pipe2@@GLIBC_2.9__environ@@GLIBC_2.2.5_ITM_registerTMCloneTableaction__cxa_finalize@@GLIBC_2.2.5_initexecv@@GLIBC_2.2.5fork@@GLIBC_2.2.5.symtab.strtab.shstrtab.note.gnu.build-id.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.plt.got.text.fini.rodata.eh_frame_hdr.eh_frame.init_array.fini_array.dynamic.got.plt.data.bss.comment.debug_aranges.debug_info.debug_abbrev.debug_line.debug_str.debug_loc.debug_ranges$.o8 @XX9Ho dUo `dX X PnB (x s ~pp TT 2]]dd- -- -- -/ /P0 00 0 1 1 011`E2A J<O&0TS1Y6<(sptx !5 ~.>Jlibexecs-1.1/debian/tmp/usr/lib/x86_64-linux-gnu/libexecs.so.00000777000175000017500000000000013173400660026042 2libexecs.so.0.9.0ustar giuliagiulialibexecs-1.1/debian/tmp/usr/lib/x86_64-linux-gnu/libexecs.so0000777000175000017500000000000013173400660025704 2libexecs.so.0.9.0ustar giuliagiulialibexecs-1.1/debian/tmp/usr/lib/x86_64-linux-gnu/libexecs.la0000755000175000017500000000166513173400001023056 0ustar giuliagiulia# libexecs.la - a libtool library file # Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-2 # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='libexecs.so.0' # Names of this library. library_names='libexecs.so.0.9.0 libexecs.so.0 libexecs.so' # The name of the static archive. old_library='libexecs.a' # Linker flags that cannot go in dependency_libs. inherited_linker_flags='' # Libraries that this one depends upon. dependency_libs='' # Names of additional weak libraries provided by this library weak_library_names='' # Version information for libexecs. current=9 age=9 revision=0 # Is this an already installed library? installed=yes # Should we warn about portability when linking against -modules? shouldnotlink=no # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/lib/x86_64-linux-gnu' libexecs-1.1/debian/tmp/usr/lib/x86_64-linux-gnu/libexecs-embedded.so.0.9.00000755000175000017500000003353013173400001025271 0ustar giuliagiuliaELF>@.@8@#"  @X  $$Ptd` ` ` 44QtdRtd GNUDPwQ cut&,UW ,(Q BE|O$Ca^lëDqqX$)MdE  8 R"( @ a pt Z0  ( 8 m` Z ( T ~  __gmon_start___init_fini_ITM_deregisterTMCloneTable_ITM_registerTMCloneTable__cxa_finalizegetvar_nullactionnextstates2argv_getvarexecs_commonexecveexecvpe__stack_chk_failexecs_fork_security_argexecs_fork_securitylibc.so.6_edata__bss_start_endlibexecs-embedded.so.0GLIBC_2.2.5GLIBC_2.11GLIBC_2.4ui *ii 5 `  @ @               ( HH HtH5 % @% h% h% h%r fH= UH H9HtH Ht ]f.]@f.H=Q H5J UH)HHHH?HHtH Ht ]f]@f.= u/H= UHt H= =H ]fDUH]ffDHAWAVIAUATIUSE1E1HH-J QHIIHB(ǃ <A@AHH IJ('EA"qA'At'!A;AtA\ADHx$>9G`L`6P`  6@| - .] ( )Y    6 6/  ; ` H   I 8 J 0 ,` nѭѭ_nbufц i`j*t6  U~T0Q0 -U~T|Q} WSUT|QvM cT o 6P`(PM*P>bufP1R`iS`<CT }V`! U~LpW"/LU###*#Q$EE% : ; I$ > $ >   I&I : ;  : ; I8 : ;I8 : ; I !I/ <4: ;I?<'II4: ; I?<!4: ; I?4G: ; .?: ; 'I@B: ; I: ; I4: ; I4I41B1!I/.: ; 'I@B U!": ; I#.?<n: ;$.?<n /usr/lib/gcc/x86_64-linux-gnu/7/include/usr/include/x86_64-linux-gnu/bits/usr/include.execs.cstddef.htypes.hlibio.hstdio.hsys_errlist.hunistd.hgetopt.hsignal.hexecs.h p;;W5LghG9JGX tvfmffpfJ#K=;KKuQ=N: YvD<Jjffgm&gt-=;tK-Y=e"=s/optindoptarg_old_offsetenvp_IO_save_endexecs_commonshort intsize_t_IO_write_ptr_flags_IO_buf_base_sys_nerr__environ_markersopterrexecs_fork_security_arg_sys_errliststderrlong long intaction_lockgetvar_nullargs_fsa_cur_column_IO_2_1_stderr__IO_FILE_plus_posexecs.cexecveargvname_sbuf_IO_FILEthisargunsigned chars2argv_getvar_targc__pad5long long unsigned int_shortbuf_IO_marker_IO_2_1_stdin_args_IO_read_end_IO_write_base_unused2_IO_read_ptr_sys_siglist_IO_buf_endnextstateGNU C11 7.1.0 -mtune=generic -march=x86-64 -g -O2 -fstack-protector-strong -fPIC_next__pad1__pad2__pad3__pad4thisexecvpes2argv_getvar_IO_write_end__off64_t_IO_2_1_stdout___off_tshort unsigned int_chain_IO_backup_basestdinpath_flags2_mode_IO_read_base_vtable_offset_IO_save_baseoptopt_fileno__stack_chk_failstdoutexecs_fork_security_IO_lock_t0HUH_U_0BTB^T^0UQUv0hRh]R]ilPl|p|t|il p $ &1lt p $ &1t|p8UCXCZ'X8T8OO__'_QqQ q 'Q'.P.nwnQ'w818S'S808\\P'\808^'^8]]2]24']Dx|'P0p ( @   T ] `       @ (    ! 7( F m `y   @  ` (   ( % T +  9Ui} p  Z0 @  ( 8  ` Z ") (crtstuff.cderegister_tm_clones__do_global_dtors_auxcompleted.7001__do_global_dtors_aux_fini_array_entryframe_dummy__frame_dummy_init_array_entryexecs.cargs_fsa__FRAME_END____dso_handle_DYNAMIC__GNU_EH_FRAME_HDR__TMC_END___GLOBAL_OFFSET_TABLE__ITM_deregisterTMCloneTable_edata_finis2argv_getvar__stack_chk_fail@@GLIBC_2.4execvpe@@GLIBC_2.11execve@@GLIBC_2.2.5getvar_null__gmon_start__nextstateexecs_fork_security_arg_endexecs_common__bss_startexecs_fork_security_ITM_registerTMCloneTableaction__cxa_finalize@@GLIBC_2.2.5_init.symtab.strtab.shstrtab.note.gnu.build-id.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.plt.got.text.fini.rodata.eh_frame_hdr.eh_frame.init_array.fini_array.dynamic.got.plt.data.bss.comment.debug_aranges.debug_info.debug_abbrev.debug_line.debug_str.debug_loc.debug_ranges$.o\8 PP@00?Hopp(Uo@dnBHx((s@@@~T T 2] ] ` ` 4     8 0@ @ ( (0(E0uy &0C|1<M$P$x!2 +/G-Jlibexecs-1.1/debian/tmp/usr/lib/x86_64-linux-gnu/libexecs-embedded.so.00000777000175000017500000000000013173400660031320 2libexecs-embedded.so.0.9.0ustar giuliagiulialibexecs-1.1/debian/tmp/usr/lib/x86_64-linux-gnu/libexecs-embedded.so0000777000175000017500000000000013173400660031162 2libexecs-embedded.so.0.9.0ustar giuliagiulialibexecs-1.1/debian/tmp/usr/lib/x86_64-linux-gnu/libexecs-embedded.la0000755000175000017500000000176413173400001024605 0ustar giuliagiulia# libexecs-embedded.la - a libtool library file # Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-2 # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='libexecs-embedded.so.0' # Names of this library. library_names='libexecs-embedded.so.0.9.0 libexecs-embedded.so.0 libexecs-embedded.so' # The name of the static archive. old_library='libexecs-embedded.a' # Linker flags that cannot go in dependency_libs. inherited_linker_flags='' # Libraries that this one depends upon. dependency_libs='' # Names of additional weak libraries provided by this library weak_library_names='' # Version information for libexecs-embedded. current=9 age=9 revision=0 # Is this an already installed library? installed=yes # Should we warn about portability when linking against -modules? shouldnotlink=no # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/lib/x86_64-linux-gnu' libexecs-1.1/debian/tmp/usr/lib/x86_64-linux-gnu/libexecs.a0000644000175000017500000012324413173400001022675 0ustar giuliagiulia! / 0 0 0 0 272 ` TTTTTTTTTTTTM(M(M(M(getvar_nullactionnextstates2argv_getvars2argvs2argv_frees2argvlens2argcs2multiargvexecs_commonexecs_fork_security_argexecs_fork_securitysystem_execsrcoprocess_commonpopen_execspclose_execsexecs.o/ 0 0 0 644 19352 ` ELF>E@@HAWAVHAUATIUS1E1L5H(L%GfHIEIL(ǃ <A@AHHLH(+DA"mA't$&A;tA\@H $ >   I&I : ;  : ; I8 : ;I8 : ; I !I/ <4: ;I?<7I'II4: ; I?<!4: ; I?4G: ; .?: ; 'I@B: ; I: ; I4: ; I4I41B1!I/ 4: ; I!"!I#.?: ; '@B$B1% &1RUX Y '1(1).: ; 'I@B* U+,: ; I-.?: ; 'I 4.: ; I/0.?<n: ;1.?<n2.?<n: ; U\_\^U^t_TZ^Z^T^t^Q]v]tRX]X^R^t]P p$V|^ltlt| p $ &1 p $ &1 pU^U^T]T]Q\Q\Pp:SsS3$s3$=ww=SSHa0aP0 p $ &1  p $ &1 pUuxU0P0`jUjuQuUQU`j0juRu}P}RP0U&S&[V[_U_`UU&S&3P3@S@MPMZS IUIS UP\|jw wxP] P  ]0SQ U^P^gpp>U}>R>[ R"T">]>P}P] } ] ]QqQq Q 'P'oo Q  >1>S S>0>__P _>0W>T>[w T>VV2V2 4  V,tDqu} O /usr/include/x86_64-linux-gnu/bits/usr/lib/gcc/x86_64-linux-gnu/7/include/usr/include.execs.cstdio2.hstddef.htypes.hlibio.hstdio.hsys_errlist.hunistd.hgetopt.hsignal.hexecs.hstring.hstdlib.hstring2.h -;5.LghGJ9JG tvXmXfpX<#K=IKKK*_=Nּ, YD.JjXfgmY!IY;=YWKWu;=0sIX7I9\)Z:LhWI=-[X1-=-tY=;YWKL:I>=Gy4/$-=;tK-Y=e"=s/callocoptindoptarg_old_offset__printf_chkopaque_filenoenvpstate_IO_save_endexecs_commonshort intsize_t_offsets2argc_IO_write_ptr_flags_IO_buf_base_sys_nerr__environs2argv_free_markerssys_siglistopterrexecs_fork_security_argfrees2multiargv_sys_errliststderroptoptlong long intaction_locklong ints2argvprintfargs_fsa_cur_column_IO_2_1_stderr___strdup_IO_FILE_plus_posexecs.cexecveargv_sbuf_IO_FILEthisargunsigned charthisargvs2argv_getvar_targc__pad5signed charlong long unsigned int_shortbufenviron_IO_marker_IO_2_1_stdin_args_IO_read_end_IO_write_base_unused2_IO_read_ptr_sys_siglist_IO_buf_endnextstatecharstrlen_next__pad1__pad2__pad3__pad4thisexecvpes2argv_getvar__fmtlong unsigned int_IO_write_end__off64_t_IO_2_1_stdout___off_tshort unsigned int_chain_IO_backup_basestdinpath_flags2_mode_IO_read_basenamesys_nerr_vtable_offsetgetvar_null_IO_save_basesys_errlistscanGNU C11 7.1.0 -mtune=generic -march=x86-64 -g -O2 -fstack-protector-strong__stack_chk_failunsigned ints2argvlenstdoutexecs_fork_security_IO_lock_tGCC: (Debian 7.1.0-13) 7.1.0zRx H0BBE B(D0A8U` 8D0A(B BBBB (|AG G A $PAAJ zDA7#,AC HR A 0(AC HS~ C     (Z/`Z9G Ndkr{P`7#execs.cargs_fsa.LC0.LC1getvar_nullactionnextstates2argv_getvars2argv_GLOBAL_OFFSET_TABLE_strlencalloc__strdup__printf_chk__stack_chk_fails2argv_frees2argvlens2argcs2multiargvexecs_commonexecveexecvpeexecs_fork_security_argexecs_fork_security-8#BQn4 <%i&p\   ' , l9 @ G /N $U \ bj ?o 'z      n I r V      # I0 H= J BW 5d dq ~ _   9 s      l  e V" *. : F   5  k Y ;       , $3 8 J "V a l w  {  B     ! 2->O(`'i Us _  D _ =    j   ,3@Ymft  D M  .   j     > t' ,N#fHa {   ( i. 18`O Y h #n t    8` H  D     $ W)zF OW Pf k ) JUr  > VH _ Di a n x X B   e   4 ?    O - 1 9 = E I N R Z ^ f !j !q {u {}    # 4 `,.symtab.strtab.shstrtab.rela.text.data.bss.rodata.str1.1.rela.data.rel.local.rela.debug_info.debug_abbrev.rela.debug_loc.rela.debug_aranges.debug_ranges.rela.debug_line.debug_str.comment.note.GNU-stack.rela.eh_frame @t@8.& ,z12zE@@0Z U@0fy t@C o 0@ C0  !S@PC0r#a0'''X@hCP) (- (Dnoshell.o/ 0 0 0 644 22848 ` ELF>S@@AUATIUSHHdH%(HD$1HHHEHtQ1ۋ!pid?O"3 /T #Y #N #C /$d r U|D U~T|QRw 0 UvT@?$ O Uv@T@?$ , s T0, T18 8 8 8 ~ U~T}QO U8 8  U|%= 2eV 222a3<P UTT Qw &e- 't(arg)v- *e)pidO+)ie <&8ep '8'8'8@ )buf9p  ,6- . # # . / D. 0 o # # 12 2 2 3! OA ." , 3 Ts8  Y T| T| O U TDQ0  46) 55 25V676 66 6 6 d566 ^64566 *6 Q56 66 E% : ; I$ > &I$ > I!I/   I  : ;  : ; I8 : ;I8 : ; <4: ;I?<'II4: ; I?<! : ; I8 4: ; I.?: ; 'I@B: ; I4: ; I U 11B1.?: ; 'I@B 4: ; I!4: ; I"1X Y #1$41I%44I&.: ; 'I ': ; I(: ; I)4: ; I*4: ; I+ ,!I-.1@B.41/410 1U1 U2413 14!I/5.?<n: ; 6.?<n: ;7.?<n`UUU?U?LULQUx pp?L Pp pp?JPJL PV P?V@U^U_^_dUdR^@T]TM]MTRT_]_dTd]RR]@QSQ_S_dQdRSP__s|P|M_ vr. vr.s vr.U^ U ^U6^6;UT\ T \T6\6;TQ] Q ]T]Q]T6]6;QR_ R _Q_R_Q6_6;RXv X vXX;X1FPFSP S6_6\6^&1wP pp0gUgkqkU0aTakRkT0dQdkXkQ$U$\U.\$T$VT.V $T$VT.V%=PPFVV .VF\\ .\QxSx|sSs,QF .6`xMCW ./usr/lib/gcc/x86_64-linux-gnu/7/include/usr/include/x86_64-linux-gnu/bits/usr/include/usr/include/x86_64-linux-gnu/sysnoshell.cexecs.hstddef.htypes.hstdio.hlibio.hsys_errlist.htypes.hunistd.hgetopt.herrno.hsignal.herrno.hwait.hstdlib.hfcntl.hstring.h \/u!{ZsLvq.zXJ;Y#$/Xa+hx"Y=e/wy>:=uYwXts.;=eK;=% g;;)Y*UyQ'!=g}Y;g\=hkusLfȃ thuoXX0:YlOY>̭t:__off_tmalloc_chainsize_tnext_shortbufclosesystem_execsrpclose_execstypestream_IO_2_1_stderr__IO_buf_baselong long unsigned intfdopenstdoutfreelong long intsigned chars2argv_getvar_fileno_IO_read_endsys_siglistlong int_flagsexecveenvp_cur_columnprogram_invocation_short_nameexecvpprogram_invocation_name_old_offset_offsetredirfcntlforkshort unsigned intpfd_in_IO_markerstdinunsigned intdup2environnoshell.ccommandpipefdexecs_fork_security_IO_FILE_plus_IO_write_ptrwaitpidsys_nerr_sbufs2argv_getvar_t_exitfclosestrlen_IO_save_basepipe2pprev_lock_flags2_modewaitrvpath_IO_2_1_stdin_optargpopen_infooptind_IO_read_ptr_IO_lock_t_IO_FILEcoprocess_common__environexecs_fork_security_arg_posstreamnosys_errlist_markerspfd_outunsigned charcurr_IO_buf_end__pid_tshort intexecs_common_sys_nerr_vtable_offset_IO_2_1_stdout___stack_chk_failexecvoptoptsystem_execsr_flong unsigned intcharsystem_execsr_t_sys_errlist__errno_locationopterrpopen_list_next__off64_t_IO_read_baseexecse_IO_save_end_sys_siglistexecsrvar__pad1__pad2__pad3__pad4__pad5_IO_write_end_unused2stderrGNU C11 7.1.0 -mtune=generic -march=x86-64 -g -O2 -fstack-protector-strongstatuspopen_execs_IO_backup_baseexecvpepid_tFILEargsargv_IO_write_bases2multiargvGCC: (Debian 7.1.0-13) 7.1.0zRx 8.BBD A(G@ (A ABBD XVD0L A (tAC Mg H HBBE B(D0A8GPb 8A0A(B BBBE 4BAA D@a  AABC  .   &<AU>Z`hn0V@ %*0`=noshell.csystem_execsr_fpopen_list_GLOBAL_OFFSET_TABLE_forkexecs_fork_securitydup2_exitwaitpidexecvexecs_fork_security_arg__stack_chk_failexecvpsystem_execsrs2multiargvcoprocess_commonpipe2execveexecvpestrlenexecs_commonpopen_execsmallocenviron__errno_locationfdopenfreefcntlpclose_execsfclose!9gt (h(BUgt| !"*#7%"*3@&Q#[a'y'()#*&.):N{',')))FM   ' , 9 E L sS Z a Do t   <        u) i5 0A <N [ .h u   \ N  e " V Z R Y ` g n+ d8 F M Y e q   v t Y    / : [E P ] vd i {      6  ;    2 = I qU bh t R   @` R  P   +  " 0 j: ?LYv-Q @ q    M W 4 9 C 8Hg~&.7U_}-:G_w!*2eR  q    = $ ) 3 8 B G @P _ x H    . 1 "P ,] Yt k x        . 1 3 ;G 2Q 0h qr i w  b  H l     4 'D qO Z   O l Q 4  k4 xB Z ,p %}     . .       J J  ! n% n- 1 9 ,= ,E NI NP (T (\ ` h hl hs 5w 5   - -   / /7 d \0x@`.symtab.strtab.shstrtab.rela.text.data.bss.rela.debug_info.debug_abbrev.rela.debug_loc.rela.debug_aranges.debug_ranges.rela.debug_line.debug_str.comment.note.GNU-stack.rela.eh_frame @Q@83&,6 1@P9HBRU P@Q`e#0`@Q0 t#$@(R 0?'90x,,, @@Rx-8 1DRlibexecs-1.1/debian/tmp/usr/lib/x86_64-linux-gnu/libexecs-embedded.a0000644000175000017500000003105613173400001024423 0ustar giuliagiulia! / 0 0 0 0 132 ` """""""getvar_nullactionnextstates2argv_getvarexecs_commonexecs_fork_security_argexecs_fork_security// 30 ` libexecs_embedded_la-execs.o/ /0 0 0 0 644 12496 ` ELF>*@@HAWAVHAUATIUS1E1L5H(L%GfHIEIL(ǃ <A@AHHLH(+DA"mA't$&A;tA\@H$>9G`L`P`  6@| - . ( )    6 6/ ; H I J `nѭѭnbufц`t6 U~T0Q0-U~T|Q}YSUT|Qveq 6P`*PP>bufPR`S`T V`!ULY"LU#*#Q$% : ; I$ > $ >   I&I : ;  : ; I8 : ;I8 : ; I !I/ <4: ;I?<'II4: ; I?<!4: ; I?4G: ; .?: ; 'I@B: ; I: ; I4: ; I4I41B1!I/.: ; 'I@B U!": ; I#.?<n: ;$.?<n 8U8_U_ 2T2^T^ EQEv XRX]R]Y\P\lp|t|Y\ p $ &1\d p $ &1dlp>U}>R>[ R"T">]>P}P] } ] ]QqQq Q 'P'oo Q  >1>S S>0>__P _>0W>T>[w T>VV2V2 4  V,Dqu}  /usr/lib/gcc/x86_64-linux-gnu/7/include/usr/include/x86_64-linux-gnu/bits/usr/include.execs.cstddef.htypes.hlibio.hstdio.hsys_errlist.hunistd.hgetopt.hsignal.hexecs.h -;5.LghGJ9JG tvXmXfpX<#K=IKKK*_=Nּ, YD.JjXfgmY-=;tK-Y=e"=s/optindoptarg_old_offsetenviron_filenoenvpstate_IO_save_endexecs_commonshort intsize_t_offset_IO_write_ptr_flags_IO_buf_base_sys_nerr__environ_markerssys_siglistopterrexecs_fork_security_arg_sys_errliststderrlong long intaction_locklong intgetvar_nullargs_fsa_cur_column_IO_2_1_stderr__IO_FILE_plus_posexecs.cexecveargvname_sbuf_IO_FILEthisargunsigned chars2argv_getvar_targc__pad5signed charlong long unsigned int_shortbufunsigned int_IO_marker_IO_2_1_stdin_args_IO_read_end_IO_write_base_unused2_IO_read_ptr_sys_siglist_IO_buf_endnextstatechar_next__pad1__pad2__pad3__pad4thisexecvpes2argv_getvarlong unsigned int_IO_write_end__off64_t_IO_2_1_stdout___off_tshort unsigned int_chain_IO_backup_basestdinpath_flags2_mode_IO_read_basesys_nerr_vtable_offset_IO_save_basesys_errlistoptoptGNU C11 7.1.0 -mtune=generic -march=x86-64 -g -O2 -fstack-protector-strong__stack_chk_failstdoutexecs_fork_security_IO_lock_tGCC: (Debian 7.1.0-13) 7.1.0zRx H0BBE B(D0A8U` 8D0A(B BBBB ,|AC HS~ C     #Z*`Z4B Oeltexecs.cargs_fsa.LC0getvar_nullactionnextstates2argv_getvarexecs_common_GLOBAL_OFFSET_TABLE_execveexecvpe__stack_chk_failexecs_fork_security_argexecs_fork_security-8#B d N' , Y9 @ ~G N U \ Oj o z  V m v &    h  }  @ C# 0 5= J W "d q ~  4   ` a h o v     " . [: gF I ;   +    + Q  ' . 3 E Q \ g r ] 3      L (9J[d Bn      _ *    j ]  Y .Ta   M ]  D /   Q v   } ?+  5L bZ V^ Vf j r v   4 .symtab.strtab.shstrtab.rela.text.data.bss.rodata.str1.1.rela.data.rel.local.rela.debug_info.debug_abbrev.debug_loc.rela.debug_aranges.debug_ranges.rela.debug_line.debug_str.comment.note.GNU-stack.rela.eh_frame @@(&  ,12E@@Z{U@ fc t3 0@)0 Pk@H)00@`)H p)libexecs-1.1/debian/.debhelper/libexecs0/dbgsym-root/DEBIAN/control0000644000175000017500000000052513173400012024353 0ustar giuliagiuliaPackage: libexecs0-dbgsym Source: libexecs Version: 1.1-1 Auto-Built-Package: debug-symbols Architecture: amd64 Maintainer: Giulia Cantini Installed-Size: 24 Depends: libexecs0 (= 1.1-1) Section: debug Priority: optional Description: debug symbols for libexecs0 Build-Ids: d205705be4af82e8fc5a76890b3963841fa0c371 libexecs-1.1/debian/.debhelper/libexecs0/dbgsym-root/DEBIAN/md5sums0000644000175000017500000000015213173400013024265 0ustar giuliagiulia56a76ba470845ae79b26806a17ac9003 usr/lib/debug/.build-id/d2/05705be4af82e8fc5a76890b3963841fa0c371.debug libexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-root/DEBIAN/control0000644000175000017500000000056013173400012026101 0ustar giuliagiuliaPackage: libexecs-embedded0-dbgsym Source: libexecs Version: 1.1-1 Auto-Built-Package: debug-symbols Architecture: amd64 Maintainer: Giulia Cantini Installed-Size: 18 Depends: libexecs-embedded0 (= 1.1-1) Section: debug Priority: optional Description: debug symbols for libexecs-embedded0 Build-Ids: fbd7445077fb510d63bf75fd74a8c7262c551c57 libexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-root/DEBIAN/md5sums0000644000175000017500000000015213173400013026014 0ustar giuliagiuliadd2ef80ac5042a4c930a78eb87e8aee4 usr/lib/debug/.build-id/fb/d7445077fb510d63bf75fd74a8c7262c551c57.debug libexecs-1.1/.git/logs/refs/remotes/origin/HEAD0000644000175000017500000000030313173400630020605 0ustar giuliagiulia0000000000000000000000000000000000000000 fe081577079313bcfb5c27b4ebc6cb017c633f8a Giulia Cantini 1508770200 +0200 clone: from https://github.com/rd235/s2argv-execs.git libexecs-1.1/debian/libexecs-dev/usr/include/execs.h0000644000175000017500000001575713173400001021773 0ustar giuliagiulia/* * s2argv: convert strings to argv * Copyright (C) 2014 Renzo Davoli. University of Bologna. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef S2ARGV_H #define S2ARGV_H #include #include #include #include #include extern char **environ; /* This header file declares all the functions defined in the libexecs and libeexecs libraries. libeexecs is a minimal subset of the libexecs library designed for embedded systems with strict memory requirements. It implements only the execs* functions. Programs using libexecs can also use the esystem (a.k.a. system_eexecsp) inline function */ /* fork security: if defined this function gets called for each child process created by this library. If it returns a non zero value it fails and exec is aborted */ /* it can be used to drop privileges such as capabilities */ extern int (* execs_fork_security)(void *execs_fork_security_arg); extern void *execs_fork_security_arg; /***************** library functions defined both in libexecs and in libeexecs ********/ /* execs is like execv: argv is computed by parsing args */ /* execsp is like execvp: argv is computed by parsing args, argv[0] is the executable file to be searched for along $PATH */ /* execse and execspe permit the specification of the environment (as in execve or execvpe) */ /* execs, execse, execsp and execspe do not require dynamic allocation *but* require an extra copy of args on the stack */ /* in all eexecs* functions, the string args is modified (no extra copies on the stack, args is parsed on itself): */ int execs_common(const char *path, const char *args, char *const envp[], char *buf); static inline int execse(const char *path, const char *args, char *const envp[]) { char buf[strlen(args)+1]; return execs_common(path, args, envp, buf); } #define execs(path, args) execse((path),(args),environ) #define execsp(args) execse(NULL,(args),environ) #define execspe(args,env) execse(NULL,(args),(env)) #define eexecs(path, args) execs_common((path),(args),environ,(args)) #define eexecse(path, args, env) execs_common((path),(args),(env),(args)) #define eexecsp(args) execs_common(NULL,(args),environ,(args)) #define eexecspe(args,env) execs_common(NULL,(args),(env),(args)) static inline int system_eexecsp(const char *command) { int status; pid_t pid; switch (pid=fork()) { case -1: return -1; case 0: if (__builtin_expect(execs_fork_security == NULL || execs_fork_security(execs_fork_security_arg) == 0, 1)) execs_common(NULL, (char *) command, environ, (char *) command); _exit(127); default: waitpid(pid,&status,0); return status; } } #define esystem(cmd) system_eexecsp(cmd) /******** library functions defined in libexecs only (not in libeexec) ********/ /* system_nosh is an "almost" drop in replacement for system(3). it does not start a shell but it parses the arguments and runs the command */ /* system_execs is similar to system_nosh but instead of searching the executable file along the directories listed in $PATH it starts the program whose path has been passed as its first arg. */ int system_execsr(const char *path, const char *command, int redir[3]); #define system_nosh(cmd) system_execsr(NULL,(cmd),NULL) #define system_execsrp(cmd,redir) system_execsr(NULL,(cmd),(redir)) #define system_execsra(cmd,redir) system_execsr("",(cmd),(redir)) #define system_execs(path,cmd) system_execsr((path),(cmd),NULL) #define system_execsp(cmd) system_execsr(NULL,(cmd),NULL) #define system_execsa(cmd) system_execsr("",(cmd),NULL) /* popen_nosh is an "almost" drop in replacement for popen(3), and pclose_nosh is its counterpart for pclose(3). */ /* popen_execs/pclose_execs do not use $PATH to search the executable file*/ FILE *popen_execs(const char *path, const char *command, const char *type); int pclose_execs(FILE *stream); #define popen_nosh(cmd, type) popen_execs(NULL, (cmd), (type)) #define pclose_nosh(stream) pclose_execs(stream) #define popen_execsp(cmd, type) popen_execs(NULL, (cmd), (type)) #define pclose_execsp(stream) pclose_execs(stream) /* run a command in coprocessing mode */ pid_t coprocess_common(const char *path, const char *command, char *const argv[], char *const envp[], int pipefd[2]); #define coprocv(path, argv, pfd) coprocess_common((path),NULL,(argv), environ, pfd) #define coprocve(path, argv, env, pfd) coprocess_common((path),NULL,(argv), (env), pfd) #define coprocvp(file, argv, pfd) coprocess_common(NULL,(file),(argv), environ, pfd) #define coprocvpe(file, argv, env, pfd) coprocess_common(NULL,(file),(argv), (env), pfd) #define coprocs(path, cmd, pfd) coprocess_common((path),(cmd),NULL, environ, pfd) #define coprocse(path, cmd, env, pfd) coprocess_common((path),(cmd),NULL, (env), pfd) #define coprocsp(cmd, pfd) coprocess_common(NULL,(cmd),NULL, environ, pfd) #define coprocspe(cmd, env, pfd) coprocess_common(NULL,(cmd),NULL, (env), pfd) /* Low level argc management functions */ /* s2argv parses args. It allocates, initializes and returns an argv array, ready for execv. s2argv is able to parse several commands separated by semicolons (;). The return value is the sequence of all the corresponding argv (each one has a NULL element as its terminator) and one further NULL element terminates the whole sequence. (i.e. this multi-argv has two NULLs in a row at its end). This format is compatible with the standard argv. */ char **s2argv(const char *args); /* s2argv_free deallocates an argv returned by s2argv */ void s2argv_free(char **argv); /* number of elements of argv */ size_t s2argvlen(char **argv); /* argc of the (first) command */ /* argv=argv+s2argc(argv)+1 is the next argv */ size_t s2argc(char **argv); /* var definition function (e.g. s2argv_getvar=getenv)*/ typedef char * (* s2argv_getvar_t) (const char *name); extern s2argv_getvar_t s2argv_getvar; /* getvar_null is the deafult value for s2argv_getvar, it always returns an empty string for any variable name */ char *getvar_null(const char *name); /* multi argv. Args can contain several commands semicolon (;) separated. This function parses args and calls f for each command/argv in args. If f returns 0 s2multiargv calls f for the following argv, otherwise returns the non-zero value. */ int s2multiargv(const char *args, int (*f)(char **argv, void *opaque), void *opaque); #endif libexecs-1.1/debian/tmp/usr/include/execs.h0000644000175000017500000001575713173400001020221 0ustar giuliagiulia/* * s2argv: convert strings to argv * Copyright (C) 2014 Renzo Davoli. University of Bologna. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef S2ARGV_H #define S2ARGV_H #include #include #include #include #include extern char **environ; /* This header file declares all the functions defined in the libexecs and libeexecs libraries. libeexecs is a minimal subset of the libexecs library designed for embedded systems with strict memory requirements. It implements only the execs* functions. Programs using libexecs can also use the esystem (a.k.a. system_eexecsp) inline function */ /* fork security: if defined this function gets called for each child process created by this library. If it returns a non zero value it fails and exec is aborted */ /* it can be used to drop privileges such as capabilities */ extern int (* execs_fork_security)(void *execs_fork_security_arg); extern void *execs_fork_security_arg; /***************** library functions defined both in libexecs and in libeexecs ********/ /* execs is like execv: argv is computed by parsing args */ /* execsp is like execvp: argv is computed by parsing args, argv[0] is the executable file to be searched for along $PATH */ /* execse and execspe permit the specification of the environment (as in execve or execvpe) */ /* execs, execse, execsp and execspe do not require dynamic allocation *but* require an extra copy of args on the stack */ /* in all eexecs* functions, the string args is modified (no extra copies on the stack, args is parsed on itself): */ int execs_common(const char *path, const char *args, char *const envp[], char *buf); static inline int execse(const char *path, const char *args, char *const envp[]) { char buf[strlen(args)+1]; return execs_common(path, args, envp, buf); } #define execs(path, args) execse((path),(args),environ) #define execsp(args) execse(NULL,(args),environ) #define execspe(args,env) execse(NULL,(args),(env)) #define eexecs(path, args) execs_common((path),(args),environ,(args)) #define eexecse(path, args, env) execs_common((path),(args),(env),(args)) #define eexecsp(args) execs_common(NULL,(args),environ,(args)) #define eexecspe(args,env) execs_common(NULL,(args),(env),(args)) static inline int system_eexecsp(const char *command) { int status; pid_t pid; switch (pid=fork()) { case -1: return -1; case 0: if (__builtin_expect(execs_fork_security == NULL || execs_fork_security(execs_fork_security_arg) == 0, 1)) execs_common(NULL, (char *) command, environ, (char *) command); _exit(127); default: waitpid(pid,&status,0); return status; } } #define esystem(cmd) system_eexecsp(cmd) /******** library functions defined in libexecs only (not in libeexec) ********/ /* system_nosh is an "almost" drop in replacement for system(3). it does not start a shell but it parses the arguments and runs the command */ /* system_execs is similar to system_nosh but instead of searching the executable file along the directories listed in $PATH it starts the program whose path has been passed as its first arg. */ int system_execsr(const char *path, const char *command, int redir[3]); #define system_nosh(cmd) system_execsr(NULL,(cmd),NULL) #define system_execsrp(cmd,redir) system_execsr(NULL,(cmd),(redir)) #define system_execsra(cmd,redir) system_execsr("",(cmd),(redir)) #define system_execs(path,cmd) system_execsr((path),(cmd),NULL) #define system_execsp(cmd) system_execsr(NULL,(cmd),NULL) #define system_execsa(cmd) system_execsr("",(cmd),NULL) /* popen_nosh is an "almost" drop in replacement for popen(3), and pclose_nosh is its counterpart for pclose(3). */ /* popen_execs/pclose_execs do not use $PATH to search the executable file*/ FILE *popen_execs(const char *path, const char *command, const char *type); int pclose_execs(FILE *stream); #define popen_nosh(cmd, type) popen_execs(NULL, (cmd), (type)) #define pclose_nosh(stream) pclose_execs(stream) #define popen_execsp(cmd, type) popen_execs(NULL, (cmd), (type)) #define pclose_execsp(stream) pclose_execs(stream) /* run a command in coprocessing mode */ pid_t coprocess_common(const char *path, const char *command, char *const argv[], char *const envp[], int pipefd[2]); #define coprocv(path, argv, pfd) coprocess_common((path),NULL,(argv), environ, pfd) #define coprocve(path, argv, env, pfd) coprocess_common((path),NULL,(argv), (env), pfd) #define coprocvp(file, argv, pfd) coprocess_common(NULL,(file),(argv), environ, pfd) #define coprocvpe(file, argv, env, pfd) coprocess_common(NULL,(file),(argv), (env), pfd) #define coprocs(path, cmd, pfd) coprocess_common((path),(cmd),NULL, environ, pfd) #define coprocse(path, cmd, env, pfd) coprocess_common((path),(cmd),NULL, (env), pfd) #define coprocsp(cmd, pfd) coprocess_common(NULL,(cmd),NULL, environ, pfd) #define coprocspe(cmd, env, pfd) coprocess_common(NULL,(cmd),NULL, (env), pfd) /* Low level argc management functions */ /* s2argv parses args. It allocates, initializes and returns an argv array, ready for execv. s2argv is able to parse several commands separated by semicolons (;). The return value is the sequence of all the corresponding argv (each one has a NULL element as its terminator) and one further NULL element terminates the whole sequence. (i.e. this multi-argv has two NULLs in a row at its end). This format is compatible with the standard argv. */ char **s2argv(const char *args); /* s2argv_free deallocates an argv returned by s2argv */ void s2argv_free(char **argv); /* number of elements of argv */ size_t s2argvlen(char **argv); /* argc of the (first) command */ /* argv=argv+s2argc(argv)+1 is the next argv */ size_t s2argc(char **argv); /* var definition function (e.g. s2argv_getvar=getenv)*/ typedef char * (* s2argv_getvar_t) (const char *name); extern s2argv_getvar_t s2argv_getvar; /* getvar_null is the deafult value for s2argv_getvar, it always returns an empty string for any variable name */ char *getvar_null(const char *name); /* multi argv. Args can contain several commands semicolon (;) separated. This function parses args and calls f for each command/argv in args. If f returns 0 s2multiargv calls f for the following argv, otherwise returns the non-zero value. */ int s2multiargv(const char *args, int (*f)(char **argv, void *opaque), void *opaque); #endif libexecs-1.1/debian/.debhelper/generated/libexecs-dev/installed-by-dh_install0000644000175000017500000000300013173400001026630 0ustar giuliagiuliadebian/tmp/usr/include/execs.h debian/tmp/usr/lib/x86_64-linux-gnu/libexecs-embedded.so debian/tmp/usr/lib/x86_64-linux-gnu/libexecs.so debian/tmp/usr/share/man/man3/coprocess.3 debian/tmp/usr/share/man/man3/coprocs.3 debian/tmp/usr/share/man/man3/coprocse.3 debian/tmp/usr/share/man/man3/coprocsp.3 debian/tmp/usr/share/man/man3/coprocspe.3 debian/tmp/usr/share/man/man3/coprocv.3 debian/tmp/usr/share/man/man3/coprocve.3 debian/tmp/usr/share/man/man3/coprocvp.3 debian/tmp/usr/share/man/man3/coprocvpe.3 debian/tmp/usr/share/man/man3/eexecs.3 debian/tmp/usr/share/man/man3/eexecse.3 debian/tmp/usr/share/man/man3/eexecsp.3 debian/tmp/usr/share/man/man3/eexecspe.3 debian/tmp/usr/share/man/man3/esystem.3 debian/tmp/usr/share/man/man3/execs.3 debian/tmp/usr/share/man/man3/execse.3 debian/tmp/usr/share/man/man3/execsp.3 debian/tmp/usr/share/man/man3/execspe.3 debian/tmp/usr/share/man/man3/pclose_execs.3 debian/tmp/usr/share/man/man3/pclose_execsp.3 debian/tmp/usr/share/man/man3/pclose_nosh.3 debian/tmp/usr/share/man/man3/popen_execs.3 debian/tmp/usr/share/man/man3/popen_execsp.3 debian/tmp/usr/share/man/man3/popen_nosh.3 debian/tmp/usr/share/man/man3/s2argv.3 debian/tmp/usr/share/man/man3/system_eexecsp.3 debian/tmp/usr/share/man/man3/system_execs.3 debian/tmp/usr/share/man/man3/system_execsa.3 debian/tmp/usr/share/man/man3/system_execsp.3 debian/tmp/usr/share/man/man3/system_execsr.3 debian/tmp/usr/share/man/man3/system_execsra.3 debian/tmp/usr/share/man/man3/system_execsrp.3 debian/tmp/usr/share/man/man3/system_nosh.3 libexecs-1.1/debian/.debhelper/generated/libexecs-dev/installed-by-dh_installdocs0000644000175000017500000000000013173400001027476 0ustar giuliagiulialibexecs-1.1/debian/.debhelper/generated/libexecs-dev/installed-by-dh_installman0000644000175000017500000000000013173400001027321 0ustar giuliagiulialibexecs-1.1/debian/.debhelper/generated/libexecs0/installed-by-dh_install0000644000175000017500000000022713173400001026144 0ustar giuliagiuliadebian/tmp/usr/lib/x86_64-linux-gnu/libexecs.so.0 debian/tmp/usr/lib/x86_64-linux-gnu/libexecs.so.0.9.0 debian/tmp/usr/lib/x86_64-linux-gnu/libexecs.a libexecs-1.1/debian/.debhelper/generated/libexecs0/installed-by-dh_installdocs0000644000175000017500000000000013173400001027002 0ustar giuliagiulialibexecs-1.1/debian/.debhelper/generated/libexecs0/installed-by-dh_installman0000644000175000017500000000000013173400001026625 0ustar giuliagiulialibexecs-1.1/debian/.debhelper/generated/libexecs0/triggers0000644000175000017500000000010313173400002023256 0ustar giuliagiulia# Triggers added by dh_makeshlibs/10.9.2 activate-noawait ldconfig libexecs-1.1/debian/.debhelper/generated/libexecs-embedded0/installed-by-dh_install0000644000175000017500000000026213173400001027672 0ustar giuliagiuliadebian/tmp/usr/lib/x86_64-linux-gnu/libexecs-embedded.so.0 debian/tmp/usr/lib/x86_64-linux-gnu/libexecs-embedded.so.0.9.0 debian/tmp/usr/lib/x86_64-linux-gnu/libexecs-embedded.a libexecs-1.1/debian/.debhelper/generated/libexecs-embedded0/installed-by-dh_installdocs0000644000175000017500000000000013173400001030531 0ustar giuliagiulialibexecs-1.1/debian/.debhelper/generated/libexecs-embedded0/installed-by-dh_installman0000644000175000017500000000000013173400001030354 0ustar giuliagiulialibexecs-1.1/debian/.debhelper/generated/libexecs-embedded0/triggers0000644000175000017500000000010313173400002025005 0ustar giuliagiulia# Triggers added by dh_makeshlibs/10.9.2 activate-noawait ldconfig libexecs-1.1/.git/refs/remotes/origin/HEAD0000644000175000017500000000004013173400630017637 0ustar giuliagiuliaref: refs/remotes/origin/master libexecs-1.1/.git/logs/refs/heads/master0000644000175000017500000000030313173400630017516 0ustar giuliagiulia0000000000000000000000000000000000000000 fe081577079313bcfb5c27b4ebc6cb017c633f8a Giulia Cantini 1508770200 +0200 clone: from https://github.com/rd235/s2argv-execs.git libexecs-1.1/debian/libexecs-dev/DEBIAN/control0000644000175000017500000000202413173400012020565 0ustar giuliagiuliaPackage: libexecs-dev Source: libexecs Version: 1.1-1 Architecture: amd64 Maintainer: Giulia Cantini Installed-Size: 62 Depends: libexecs0 (= 1.1-1), libexecs-embedded0 (= 1.1-1) Section: libdevel Priority: optional Description: C library for commands execution - development files s2argv converts a command string into an argv array for execv, execvp, execvpe. execs is like execv taking a string instead of an argv. Similarly execsp and execspe are the counterpart of execvp and execvpe, respectively, using command strings. coprocv, coprocvp, coprocvpe, coprocs, coprocsp execute a command in coprocessing mode. The following functions all work without using a shell: esystem, system_eexecsp execute a command with its arguments from a string. popen_nosh, popen_execsp and pclose_nosh pipe stream to or from a process. system_nosh executes a command with its arguments from a string. . This package contains the necessary headers and shared object files needed to develop applications using libexecs. libexecs-1.1/debian/libexecs-dev/DEBIAN/md5sums0000644000175000017500000000114013173400013020501 0ustar giuliagiulia68acb35e285459f7971aa524fbb1747e usr/include/execs.h d732efe0ac83ff47fbbc4efc65d32cdc usr/share/doc/libexecs-dev/changelog.Debian.gz 222d2b7d545e95852096f27de160c557 usr/share/doc/libexecs-dev/copyright 8f15f5f7b65d7d404563cb1bdad65de6 usr/share/man/man3/coprocess.3.gz 7adbcda5718d96054d00174373189017 usr/share/man/man3/esystem.3.gz ed93ad1504188adb7320e94ed7a8f85e usr/share/man/man3/execs.3.gz f8283d3c5d6d40c15d71c34356815e8d usr/share/man/man3/popen_nosh.3.gz d2776f9a9a252a6edc952886c4393fcf usr/share/man/man3/s2argv.3.gz cffc0cda987688336423003859a721e2 usr/share/man/man3/system_nosh.3.gz libexecs-1.1/debian/libexecs0/DEBIAN/shlibs0000644000175000017500000000002513173400002017673 0ustar giuliagiulialibexecs 0 libexecs0 libexecs-1.1/debian/libexecs0/DEBIAN/triggers0000644000175000017500000000010313173400002020232 0ustar giuliagiulia# Triggers added by dh_makeshlibs/10.9.2 activate-noawait ldconfig libexecs-1.1/debian/libexecs0/DEBIAN/control0000644000175000017500000000153713173400012020101 0ustar giuliagiuliaPackage: libexecs0 Source: libexecs Version: 1.1-1 Architecture: amd64 Maintainer: Giulia Cantini Installed-Size: 40 Depends: libc6 (>= 2.11) Section: libs Priority: optional Description: C library for commands execution s2argv converts a command string into an argv array for execv, execvp, execvpe. execs is like execv taking a string instead of an argv. Similarly execsp and execspe are the counterpart of execvp and execvpe, respectively, using command strings. coprocv, coprocvp, coprocvpe, coprocs, coprocsp execute a command in coprocessing mode. The following functions all work without using a shell: esystem, system_eexecsp execute a command with its arguments from a string. popen_nosh, popen_execsp and pclose_nosh pipe stream to or from a process. system_nosh executes a command with its arguments from a string. libexecs-1.1/debian/libexecs0/DEBIAN/md5sums0000644000175000017500000000044513173400013020014 0ustar giuliagiuliad34fe84f8b1f8643c260ecb95fa97e97 usr/lib/x86_64-linux-gnu/libexecs.a 7629e0ccba6997a99a2e9952654e90fa usr/lib/x86_64-linux-gnu/libexecs.so.0.9.0 d732efe0ac83ff47fbbc4efc65d32cdc usr/share/doc/libexecs0/changelog.Debian.gz 222d2b7d545e95852096f27de160c557 usr/share/doc/libexecs0/copyright libexecs-1.1/debian/libexecs-embedded0/DEBIAN/shlibs0000644000175000017500000000004713173400002021426 0ustar giuliagiulialibexecs-embedded 0 libexecs-embedded0 libexecs-1.1/debian/libexecs-embedded0/DEBIAN/triggers0000644000175000017500000000010313173400002021761 0ustar giuliagiulia# Triggers added by dh_makeshlibs/10.9.2 activate-noawait ldconfig libexecs-1.1/debian/libexecs-embedded0/DEBIAN/control0000644000175000017500000000160113173400012021620 0ustar giuliagiuliaPackage: libexecs-embedded0 Source: libexecs Version: 1.1-1 Architecture: amd64 Maintainer: Giulia Cantini Installed-Size: 25 Depends: libc6 (>= 2.11) Section: libs Priority: optional Description: C library for commands execution s2argv converts a command string into an argv array for execv, execvp, execvpe. execs is like execv taking a string instead of an argv. Similarly execsp and execspe are the counterpart of execvp and execvpe, respectively, using command strings. esystem, system_eexecsp execute a command with its arguments from a string without using a shell. . This is the reduced memory footprint version of libexecs for embedded systems, it contains a minimal subset of the functionalities available in the main package, in particular the coproc* family of functions, system_nosh and popen_nosh are excluded (see the man pages for more info). libexecs-1.1/debian/libexecs-embedded0/DEBIAN/md5sums0000644000175000017500000000051113173400013021535 0ustar giuliagiulia85f978767aafcd41470d50a921d47470 usr/lib/x86_64-linux-gnu/libexecs-embedded.a c663cf40987325030ad26e7a5d771b23 usr/lib/x86_64-linux-gnu/libexecs-embedded.so.0.9.0 d732efe0ac83ff47fbbc4efc65d32cdc usr/share/doc/libexecs-embedded0/changelog.Debian.gz 222d2b7d545e95852096f27de160c557 usr/share/doc/libexecs-embedded0/copyright libexecs-1.1/debian/.debhelper/libexecs0/dbgsym-build-ids0000644000175000017500000000005113173400002022633 0ustar giuliagiuliad205705be4af82e8fc5a76890b3963841fa0c371 libexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-build-ids0000644000175000017500000000005113173400002024362 0ustar giuliagiuliafbd7445077fb510d63bf75fd74a8c7262c551c57 libexecs-1.1/.git/refs/heads/master0000644000175000017500000000005113173400630016552 0ustar giuliagiuliafe081577079313bcfb5c27b4ebc6cb017c633f8a libexecs-1.1/.git/objects/pack/pack-8db58465487e82a02fa68d1bf2bc75656c37a6fb.pack0000444000175000017500000015167313173400630025133 0ustar giuliagiuliaPACKxAn EbUa0`"lz1T`"(or.=ߛX#e%q.D'6ZcސU?_uI"wH\pHQ IsxK 09 %ͯ ^$yPI_VJN!&uΘqB& K,*?ΈW0VZw d:&ˮi"n( ^ k׼62L|Jk TR\ωyJ ux \WegONxIN1~EߑxBxK+{@'*j!i3{MDZ[tγArJ>+\(1Z8Yfdŏ*HLβa ǩu~ۥ{g{-RO Մ""e)c"?\o[<>_K~]i& :*%QFxMJ1F9E-Jd'JW40H:= Oo{{C|ZVQLTLY0 k)iL"\E[S88F-t̯>]O ㏮y_V/u^L${.xArVYA|lT#{m3[YqLx1N0Eb-xm- 7$WBp/_"„cx. E CdɞݸK=bN($#1^MoO*()V!)QbNˣ Qhs!w7o{{lK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=އ@<*{U lrZ '4xB"oZòZhC-pϿ-ex"% ^x4R.cܷsn1jb6}*\Cxk2!+e-D- \L(208ūʜ]u&_N+''|TxVMo0 WC;hÌ= (BX, 6(GIbav!0P#%7^Y®낲FP&} תJ0A^N(,>J/TBUڡ x24q;'5M 4EOiB-#VZZ"-Lv+n܈^1|e?=; +BƓp|G25Ʈº:zrzT:4 ղ٢b< 2kNZ^1, ]ܬ \$@`~ Alb(l3F^R] &Bh&w‡x:g<C'?\n=Ō/"N'60ѤpG2c5roZM S5[{Ya9 _p 1.c; oaF,XjgG)族[ͽB qOrI(\ (5`۲*X #tHʞ0Q JLqftŁܣGjҘ'u^_LہfyZqX{+Vʻ+;lj X(L #qq*>&]c9sU\|DؓEx+-.K)MI*r2@djEjr^q>X8#(U?718x+-.LźI)))ZzzZ\T$r4<x+-.LzzZ\\f:eH~/uel7libexecs-1.1/.git/objects/pack/pack-8db58465487e82a02fa68d1bf2bc75656c37a6fb.idx0000444000175000017500000001266013173400630024771 0ustar giuliagiuliatOc  "#$&&&(()))*+//011222223444448899:::;<<>@@@AAEGGGGHHHLLLLLMNNNNOPQRSTTUUUUUXYZ[\\\\\^^__`````bbbbcdeggghijlllmmoppppppqrrsstuvwwxzzzzzzzz{{|}~~~~~mda;@[n>G{q[D"L\axqUbW12I,uE # CWr)/+vQMXg;PL|j%c}-ҧN&-yb$T Xy,[xQ7 oQΗa>a}q s1<-Ov`/I_U )#sWzTm]18o2v0kW4y]硑%b˺ZҾ:9mTj 8U@YHO5!(h r& spK2X_)ia<^01Zn|XF)aM8a #uH6)ᚥ:O#_2]'GEvYl}:loTaA_-kO?ZoۆV4f!kE.#eZW2 '⹮ %t9RG"E#ұTr V3)vu2X4)nqZ*nQJnUKfHГI+,JܯFÄlCZG+R]s/ܜC-D  F801T0"`S4[w:B04uw,_1V&5 GGU]f/#ӌ`6Eԡ!tzp:+7wZ8AI +h)9Um7<_zmأy`JK:e_oe6/[ȣ::lnB7pA mө:$W& >ATv?2P=@A'ABX5zkxA` /<CbQ׳N;0gw*Dp}|8XFƞa-Fe+1meކU8.K4 C%$Bp,;Li牂)ǽ6Q:= ݽkw鱣Q")b\{餉oQ,.f:+Q#V^<-Ī{SxlT}/h׍yU/ZYz*D ˂d(BXujK#xޝF̽6YKPo1(Ǭd['f]F$0/UL9[©.kg26i\} T~RxyO\|qn*,zd_Y|>#}֘$ $a@_5e}.%5Qe_agE!xեnZal]gF˞8IaHnwTGBFb`c5iuQT[ceHb̝[(<͸F햀](tf٤rΜ7hb,Q\:Sw?(_x@4.DCzoъ*k0lN 4yBIfuOd6h BQ* ƻxS=$ c6^$ '&Sb⃐祾,}u"/|R2͂-Beb}*~Ĥ$IõJ^Mwt>GQt<@D1po#Π0?n\b_b'[fǹEk1,ưsd\/Y!|SjřmaCM u4"a-玙0UǰMB}PhE4hoS@0 QJ[3Gh}fmtTG[°6:OsrT5cŏq QTȿ V< #PC wlav/RLc?:sh"qɵKR*=RERg#s9H Poǐ|A$..Cef CX /?X ~y?Ӄ˽,z[=aGsHTiYK] uIJc6 bjQfz ?f ^/hyBAN(Ct 9q([ @xXPJ[zlO vMKR$l-^PȁId41HeH~/uel7y "-a \).*$/Signed-off-by: \1/p') # git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" # if test -z "$COMMIT_SOURCE" # then # /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" # fi libexecs-1.1/.git/hooks/pre-applypatch.sample0000755000175000017500000000065013173400623020602 0ustar giuliagiulia#!/bin/sh # # An example hook script to verify what is about to be committed # by applypatch from an e-mail message. # # The hook should exit with non-zero status after issuing an # appropriate message if it wants to stop the commit. # # To enable this hook, rename this file to "pre-applypatch". . git-sh-setup precommit="$(git rev-parse --git-path hooks/pre-commit)" test -x "$precommit" && exec "$precommit" ${1+"$@"} : libexecs-1.1/.git/hooks/pre-receive.sample0000755000175000017500000000104013173400623020051 0ustar giuliagiulia#!/bin/sh # # An example hook script to make use of push options. # The example simply echoes all push options that start with 'echoback=' # and rejects all pushes when the "reject" push option is used. # # To enable this hook, rename this file to "pre-receive". if test -n "$GIT_PUSH_OPTION_COUNT" then i=0 while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" do eval "value=\$GIT_PUSH_OPTION_$i" case "$value" in echoback=*) echo "echo from the pre-receive-hook: ${value#*=}" >&2 ;; reject) exit 1 esac i=$((i + 1)) done fi libexecs-1.1/.git/hooks/pre-push.sample0000755000175000017500000000250413173400623017414 0ustar giuliagiulia#!/bin/sh # An example hook script to verify what is about to be pushed. Called by "git # push" after it has checked the remote status, but before anything has been # pushed. If this script exits with a non-zero status nothing will be pushed. # # This hook is called with the following parameters: # # $1 -- Name of the remote to which the push is being done # $2 -- URL to which the push is being done # # If pushing without using a named remote those arguments will be equal. # # Information about the commits which are being pushed is supplied as lines to # the standard input in the form: # # # # This sample shows how to prevent push of commits where the log message starts # with "WIP" (work in progress). remote="$1" url="$2" z40=0000000000000000000000000000000000000000 while read local_ref local_sha remote_ref remote_sha do if [ "$local_sha" = $z40 ] then # Handle delete : else if [ "$remote_sha" = $z40 ] then # New branch, examine all commits range="$local_sha" else # Update to existing branch, examine new commits range="$remote_sha..$local_sha" fi # Check for WIP commit commit=`git rev-list -n 1 --grep '^WIP' "$range"` if [ -n "$commit" ] then echo >&2 "Found WIP commit in $local_ref, not pushing" exit 1 fi fi done exit 0 libexecs-1.1/.git/hooks/applypatch-msg.sample0000755000175000017500000000073613173400623020607 0ustar giuliagiulia#!/bin/sh # # An example hook script to check the commit log message taken by # applypatch from an e-mail message. # # The hook should exit with non-zero status after issuing an # appropriate message if it wants to stop the commit. The hook is # allowed to edit the commit message file. # # To enable this hook, rename this file to "applypatch-msg". . git-sh-setup commitmsg="$(git rev-parse --git-path hooks/commit-msg)" test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} : libexecs-1.1/.git/hooks/update.sample0000755000175000017500000000703213173400623017134 0ustar giuliagiulia#!/bin/sh # # An example hook script to block unannotated tags from entering. # Called by "git receive-pack" with arguments: refname sha1-old sha1-new # # To enable this hook, rename this file to "update". # # Config # ------ # hooks.allowunannotated # This boolean sets whether unannotated tags will be allowed into the # repository. By default they won't be. # hooks.allowdeletetag # This boolean sets whether deleting tags will be allowed in the # repository. By default they won't be. # hooks.allowmodifytag # This boolean sets whether a tag may be modified after creation. By default # it won't be. # hooks.allowdeletebranch # This boolean sets whether deleting branches will be allowed in the # repository. By default they won't be. # hooks.denycreatebranch # This boolean sets whether remotely creating branches will be denied # in the repository. By default this is allowed. # # --- Command line refname="$1" oldrev="$2" newrev="$3" # --- Safety check if [ -z "$GIT_DIR" ]; then echo "Don't run this script from the command line." >&2 echo " (if you want, you could supply GIT_DIR then run" >&2 echo " $0 )" >&2 exit 1 fi if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then echo "usage: $0 " >&2 exit 1 fi # --- Config allowunannotated=$(git config --bool hooks.allowunannotated) allowdeletebranch=$(git config --bool hooks.allowdeletebranch) denycreatebranch=$(git config --bool hooks.denycreatebranch) allowdeletetag=$(git config --bool hooks.allowdeletetag) allowmodifytag=$(git config --bool hooks.allowmodifytag) # check for no description projectdesc=$(sed -e '1q' "$GIT_DIR/description") case "$projectdesc" in "Unnamed repository"* | "") echo "*** Project description file hasn't been set" >&2 exit 1 ;; esac # --- Check types # if $newrev is 0000...0000, it's a commit to delete a ref. zero="0000000000000000000000000000000000000000" if [ "$newrev" = "$zero" ]; then newrev_type=delete else newrev_type=$(git cat-file -t $newrev) fi case "$refname","$newrev_type" in refs/tags/*,commit) # un-annotated tag short_refname=${refname##refs/tags/} if [ "$allowunannotated" != "true" ]; then echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2 echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 exit 1 fi ;; refs/tags/*,delete) # delete tag if [ "$allowdeletetag" != "true" ]; then echo "*** Deleting a tag is not allowed in this repository" >&2 exit 1 fi ;; refs/tags/*,tag) # annotated tag if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 then echo "*** Tag '$refname' already exists." >&2 echo "*** Modifying a tag is not allowed in this repository." >&2 exit 1 fi ;; refs/heads/*,commit) # branch if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then echo "*** Creating a branch is not allowed in this repository" >&2 exit 1 fi ;; refs/heads/*,delete) # delete branch if [ "$allowdeletebranch" != "true" ]; then echo "*** Deleting a branch is not allowed in this repository" >&2 exit 1 fi ;; refs/remotes/*,commit) # tracking branch ;; refs/remotes/*,delete) # delete tracking branch if [ "$allowdeletebranch" != "true" ]; then echo "*** Deleting a tracking branch is not allowed in this repository" >&2 exit 1 fi ;; *) # Anything else (is there anything else?) echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 exit 1 ;; esac # --- Finished exit 0 libexecs-1.1/.git/hooks/post-update.sample0000755000175000017500000000027513173400623020121 0ustar giuliagiulia#!/bin/sh # # An example hook script to prepare a packed repository for use over # dumb transports. # # To enable this hook, rename this file to "post-update". exec git update-server-info libexecs-1.1/.git/hooks/pre-commit.sample0000755000175000017500000000315213173400623017725 0ustar giuliagiulia#!/bin/sh # # An example hook script to verify what is about to be committed. # Called by "git commit" with no arguments. The hook should # exit with non-zero status after issuing an appropriate message if # it wants to stop the commit. # # To enable this hook, rename this file to "pre-commit". if git rev-parse --verify HEAD >/dev/null 2>&1 then against=HEAD else # Initial commit: diff against an empty tree object against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 fi # If you want to allow non-ASCII filenames set this variable to true. allownonascii=$(git config --bool hooks.allownonascii) # Redirect output to stderr. exec 1>&2 # Cross platform projects tend to avoid non-ASCII filenames; prevent # them from being added to the repository. We exploit the fact that the # printable range starts at the space character and ends with tilde. if [ "$allownonascii" != "true" ] && # Note that the use of brackets around a tr range is ok here, (it's # even required, for portability to Solaris 10's /usr/bin/tr), since # the square bracket bytes happen to fall in the designated range. test $(git diff --cached --name-only --diff-filter=A -z $against | LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 then cat <<\EOF Error: Attempt to add a non-ASCII file name. This can cause problems if you want to work with people on other platforms. To be portable it is advisable to rename the file. If you know what you are doing you can disable this check using: git config hooks.allownonascii true EOF exit 1 fi # If there are whitespace errors, print the offending file names and fail. exec git diff-index --check --cached $against -- libexecs-1.1/.git/hooks/commit-msg.sample0000755000175000017500000000160013173400623017721 0ustar giuliagiulia#!/bin/sh # # An example hook script to check the commit log message. # Called by "git commit" with one argument, the name of the file # that has the commit message. The hook should exit with non-zero # status after issuing an appropriate message if it wants to stop the # commit. The hook is allowed to edit the commit message file. # # To enable this hook, rename this file to "commit-msg". # Uncomment the below to add a Signed-off-by line to the message. # Doing this in a hook is a bad idea in general, but the prepare-commit-msg # hook is more suited to it. # # SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') # grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" # This example catches duplicate Signed-off-by lines. test "" = "$(grep '^Signed-off-by: ' "$1" | sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { echo >&2 Duplicate Signed-off-by lines. exit 1 } libexecs-1.1/.git/hooks/pre-rebase.sample0000755000175000017500000001144213173400623017677 0ustar giuliagiulia#!/bin/sh # # Copyright (c) 2006, 2008 Junio C Hamano # # The "pre-rebase" hook is run just before "git rebase" starts doing # its job, and can prevent the command from running by exiting with # non-zero status. # # The hook is called with the following parameters: # # $1 -- the upstream the series was forked from. # $2 -- the branch being rebased (or empty when rebasing the current branch). # # This sample shows how to prevent topic branches that are already # merged to 'next' branch from getting rebased, because allowing it # would result in rebasing already published history. publish=next basebranch="$1" if test "$#" = 2 then topic="refs/heads/$2" else topic=`git symbolic-ref HEAD` || exit 0 ;# we do not interrupt rebasing detached HEAD fi case "$topic" in refs/heads/??/*) ;; *) exit 0 ;# we do not interrupt others. ;; esac # Now we are dealing with a topic branch being rebased # on top of master. Is it OK to rebase it? # Does the topic really exist? git show-ref -q "$topic" || { echo >&2 "No such branch $topic" exit 1 } # Is topic fully merged to master? not_in_master=`git rev-list --pretty=oneline ^master "$topic"` if test -z "$not_in_master" then echo >&2 "$topic is fully merged to master; better remove it." exit 1 ;# we could allow it, but there is no point. fi # Is topic ever merged to next? If so you should not be rebasing it. only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` only_next_2=`git rev-list ^master ${publish} | sort` if test "$only_next_1" = "$only_next_2" then not_in_topic=`git rev-list "^$topic" master` if test -z "$not_in_topic" then echo >&2 "$topic is already up to date with master" exit 1 ;# we could allow it, but there is no point. else exit 0 fi else not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` /usr/bin/perl -e ' my $topic = $ARGV[0]; my $msg = "* $topic has commits already merged to public branch:\n"; my (%not_in_next) = map { /^([0-9a-f]+) /; ($1 => 1); } split(/\n/, $ARGV[1]); for my $elem (map { /^([0-9a-f]+) (.*)$/; [$1 => $2]; } split(/\n/, $ARGV[2])) { if (!exists $not_in_next{$elem->[0]}) { if ($msg) { print STDERR $msg; undef $msg; } print STDERR " $elem->[1]\n"; } } ' "$topic" "$not_in_next" "$not_in_master" exit 1 fi <<\DOC_END This sample hook safeguards topic branches that have been published from being rewound. The workflow assumed here is: * Once a topic branch forks from "master", "master" is never merged into it again (either directly or indirectly). * Once a topic branch is fully cooked and merged into "master", it is deleted. If you need to build on top of it to correct earlier mistakes, a new topic branch is created by forking at the tip of the "master". This is not strictly necessary, but it makes it easier to keep your history simple. * Whenever you need to test or publish your changes to topic branches, merge them into "next" branch. The script, being an example, hardcodes the publish branch name to be "next", but it is trivial to make it configurable via $GIT_DIR/config mechanism. With this workflow, you would want to know: (1) ... if a topic branch has ever been merged to "next". Young topic branches can have stupid mistakes you would rather clean up before publishing, and things that have not been merged into other branches can be easily rebased without affecting other people. But once it is published, you would not want to rewind it. (2) ... if a topic branch has been fully merged to "master". Then you can delete it. More importantly, you should not build on top of it -- other people may already want to change things related to the topic as patches against your "master", so if you need further changes, it is better to fork the topic (perhaps with the same name) afresh from the tip of "master". Let's look at this example: o---o---o---o---o---o---o---o---o---o "next" / / / / / a---a---b A / / / / / / / / c---c---c---c B / / / / \ / / / / b---b C \ / / / / / \ / ---o---o---o---o---o---o---o---o---o---o---o "master" A, B and C are topic branches. * A has one fix since it was merged up to "next". * B has finished. It has been fully merged up to "master" and "next", and is ready to be deleted. * C has not merged to "next" at all. We would want to allow C to be rebased, refuse A, and encourage B to be deleted. To compute (1): git rev-list ^master ^topic next git rev-list ^master next if these match, topic has not merged in next at all. To compute (2): git rev-list master..topic if this is empty, it is fully merged to "master". DOC_END libexecs-1.1/.git/logs/HEAD0000644000175000017500000000030313173400630014701 0ustar giuliagiulia0000000000000000000000000000000000000000 fe081577079313bcfb5c27b4ebc6cb017c633f8a Giulia Cantini 1508770200 +0200 clone: from https://github.com/rd235/s2argv-execs.git libexecs-1.1/debian/libexecs-dev.debhelper.log0000644000175000017500000000063013173400013020676 0ustar giuliagiuliadh_update_autotools_config dh_autotools-dev_updateconfig dh_autoreconf override_dh_auto_configure dh_auto_configure dh_auto_configure dh_auto_build dh_auto_test dh_prep dh_auto_install dh_install dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb libexecs-1.1/debian/libexecs0.debhelper.log0000644000175000017500000000063013173400013020202 0ustar giuliagiuliadh_update_autotools_config dh_autotools-dev_updateconfig dh_autoreconf override_dh_auto_configure dh_auto_configure dh_auto_configure dh_auto_build dh_auto_test dh_prep dh_auto_install dh_install dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb libexecs-1.1/debian/libexecs-embedded0.debhelper.log0000644000175000017500000000063013173400013021731 0ustar giuliagiuliadh_update_autotools_config dh_autotools-dev_updateconfig dh_autoreconf override_dh_auto_configure dh_auto_configure dh_auto_configure dh_auto_build dh_auto_test dh_prep dh_auto_install dh_install dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb libexecs-1.1/debian/autoreconf.before0000644000175000017500000000127513173377767017264 0ustar giuliagiuliace5b82ee8532e41afc8568205f7ad0c2 ./esystem.3 703be6a965941cf80d6eab83fd3dcd6e ./execstest.c 713dd2f3d7dced3d176b1fd971aaaa02 ./configure.ac 95e2998b71817d372e2fd24bf89226c8 ./execs.3 68acb35e285459f7971aa524fbb1747e ./execs.h 0703bf88d8d6d5e938602b19220c1913 ./Makefile.am 631426914ec877852a95f18e14d0634a ./execs.c 21eb3d63631eb8ae1aadb1a3ecfb4a3e ./coprocess.3 6a93ccc7ab45260b7b2e625da3f5c0ef ./README.md 5ca9692302541e15ab08ab399f1ea593 ./noshell.c 3c0a9e41bfa24eb8c260b24a3fcb36a5 ./create_deb.sh 4e26df4c2a0b6f5f28c4751a8405b565 ./system_nosh.3 4fbd65380cdd255951079008b364516c ./COPYING 2fc45a501fd9892a9198363b7062a6a7 ./popen_nosh.3 b8c6dda46470c065d7b3bfba8ac1c799 ./s2argv.3 libexecs-1.1/debian/autoreconf.after0000644000175000017500000000274713173377774017126 0ustar giuliagiulia3fcaa1f86815e64323a00033cdf001e6 ./config.h.in 636e2d2075c5ec88671ae84f3e69d6dd ./depcomp ce5b82ee8532e41afc8568205f7ad0c2 ./esystem.3 b965f98f97ba53fa9e2ed5528caa4efc ./install-sh 703be6a965941cf80d6eab83fd3dcd6e ./execstest.c 713dd2f3d7dced3d176b1fd971aaaa02 ./configure.ac 95e2998b71817d372e2fd24bf89226c8 ./execs.3 68acb35e285459f7971aa524fbb1747e ./execs.h 500b9244caa7a7ab23ece1db37efa76d ./compile 0703bf88d8d6d5e938602b19220c1913 ./Makefile.am 631426914ec877852a95f18e14d0634a ./execs.c 9ee695479e9711754f23ed31d4f45920 ./configure 21eb3d63631eb8ae1aadb1a3ecfb4a3e ./coprocess.3 6a93ccc7ab45260b7b2e625da3f5c0ef ./README.md 5ca9692302541e15ab08ab399f1ea593 ./noshell.c 348b3e7492469ce228dd2fa13f1748cb ./autom4te.cache/requests 9531571d22b8beef67fbf0094e2d9fbf ./autom4te.cache/traces.1 0a8d060b81e7e69a6b2a976817c6a2c5 ./autom4te.cache/output.1 41fdf610eed44ac047d4fe34552383df ./autom4te.cache/traces.0 04a06a6438cc9013003330cac8bde97b ./autom4te.cache/output.0 f32edfea91a86edcbb7da9fb63e9149b ./config.sub edbcaf917b678b3f00e4fff2608f71c3 ./ltmain.sh 7ed304220561989221a86c135d33ed6a ./aclocal.m4 5f2a276ee7b8decec541391229d03591 ./missing 3c0a9e41bfa24eb8c260b24a3fcb36a5 ./create_deb.sh e6658e52c79b2c368296c883d90979b9 ./config.guess 4e26df4c2a0b6f5f28c4751a8405b565 ./system_nosh.3 4fbd65380cdd255951079008b364516c ./COPYING 2fc45a501fd9892a9198363b7062a6a7 ./popen_nosh.3 b8c6dda46470c065d7b3bfba8ac1c799 ./s2argv.3 c857ab21c622e71c353ee4bad9f3c7db ./Makefile.in libexecs-1.1/debian/libexecs0.substvars0000644000175000017500000000007713173400012017530 0ustar giuliagiuliashlibs:Depends=libc6 (>= 2.11) misc:Depends= misc:Pre-Depends= libexecs-1.1/debian/libexecs-embedded0.substvars0000644000175000017500000000007713173400012021257 0ustar giuliagiuliashlibs:Depends=libc6 (>= 2.11) misc:Depends= misc:Pre-Depends= libexecs-1.1/debian/libexecs-dev.substvars0000644000175000017500000000004013173400012020212 0ustar giuliagiuliamisc:Depends= misc:Pre-Depends= libexecs-1.1/debian/files0000644000175000017500000000043613173400013014721 0ustar giuliagiulialibexecs-dev_1.1-1_amd64.deb libdevel optional libexecs-embedded0-dbgsym_1.1-1_amd64.deb debug optional libexecs-embedded0_1.1-1_amd64.deb libs optional libexecs0-dbgsym_1.1-1_amd64.deb debug optional libexecs0_1.1-1_amd64.deb libs optional libexecs_1.1-1_amd64.buildinfo libs optional libexecs-1.1/debian/changelog0000644000175000017500000000076413173137371015570 0ustar giuliagiulialibexecs (1.1-1) unstable; urgency=medium * New upstream release. (Closes: #873675) * Update Standards-Version to 4.1.1. * Change package section (libexecs0 and libexecs-embedded0 in libs). * Add missing dependency in libexecs-dev. (Closes: #875421) -- Giulia Cantini Sat, 14 Oct 2017 18:00:04 +0200 libexecs (1.0-1) unstable; urgency=low * Initial release. (Closes: #859737) -- Giulia Cantini Mon, 13 Mar 2017 17:00:52 +0100 libexecs-1.1/debian/libexecs-dev.install0000644000175000017500000000007413162211007017635 0ustar giuliagiuliausr/include/* usr/lib/*/libexecs*.so usr/share/man/man3/*.3 libexecs-1.1/debian/compat0000644000175000017500000000000213061541064015077 0ustar giuliagiulia9 libexecs-1.1/debian/control0000644000175000017500000000527113173137243015315 0ustar giuliagiuliaSource: libexecs Priority: optional Maintainer: Giulia Cantini Build-Depends: debhelper (>= 9), autotools-dev, dh-autoreconf Standards-Version: 4.1.1 Section: libs Vcs-Git: https://github.com/rd235/s2argv-execs Package: libexecs-dev Section: libdevel Architecture: any Depends: libexecs0 (= ${binary:Version}), libexecs-embedded0 (=${binary:Version}), ${misc:Depends} Description: C library for commands execution - development files s2argv converts a command string into an argv array for execv, execvp, execvpe. execs is like execv taking a string instead of an argv. Similarly execsp and execspe are the counterpart of execvp and execvpe, respectively, using command strings. coprocv, coprocvp, coprocvpe, coprocs, coprocsp execute a command in coprocessing mode. The following functions all work without using a shell: esystem, system_eexecsp execute a command with its arguments from a string. popen_nosh, popen_execsp and pclose_nosh pipe stream to or from a process. system_nosh executes a command with its arguments from a string. . This package contains the necessary headers and shared object files needed to develop applications using libexecs. Package: libexecs0 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: C library for commands execution s2argv converts a command string into an argv array for execv, execvp, execvpe. execs is like execv taking a string instead of an argv. Similarly execsp and execspe are the counterpart of execvp and execvpe, respectively, using command strings. coprocv, coprocvp, coprocvpe, coprocs, coprocsp execute a command in coprocessing mode. The following functions all work without using a shell: esystem, system_eexecsp execute a command with its arguments from a string. popen_nosh, popen_execsp and pclose_nosh pipe stream to or from a process. system_nosh executes a command with its arguments from a string. Package: libexecs-embedded0 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: C library for commands execution s2argv converts a command string into an argv array for execv, execvp, execvpe. execs is like execv taking a string instead of an argv. Similarly execsp and execspe are the counterpart of execvp and execvpe, respectively, using command strings. esystem, system_eexecsp execute a command with its arguments from a string without using a shell. . This is the reduced memory footprint version of libexecs for embedded systems, it contains a minimal subset of the functionalities available in the main package, in particular the coproc* family of functions, system_nosh and popen_nosh are excluded (see the man pages for more info). libexecs-1.1/debian/copyright0000644000175000017500000000210513061541064015632 0ustar giuliagiuliaFormat: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libexecs Source: https://github.com/rd235/s2argv-execs/ Files: * Copyright: 2014 Renzo Davoli License: GPL-2+ Files: debian/* Copyright: 2017 Giulia Cantini License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". libexecs-1.1/debian/libexecs-embedded0.install0000644000175000017500000000010113061541064020666 0ustar giuliagiuliausr/lib/*/libexecs-embedded*.so.* usr/lib/*/libexecs-embedded*.a libexecs-1.1/debian/libexecs0.install0000644000175000017500000000005513061541064017147 0ustar giuliagiuliausr/lib/*/libexecs.so.* usr/lib/*/libexecs.a libexecs-1.1/debian/rules0000755000175000017500000000114113061541064014756 0ustar giuliagiulia#!/usr/bin/make -f # See debhelper(7) (uncomment to enable) # output every command that modifies files on the build system. #export DH_VERBOSE = 1 # see FEATURE AREAS in dpkg-buildflags(1) #export DEB_BUILD_MAINT_OPTIONS = hardening=+all # see ENVIRONMENT in dpkg-buildflags(1) # package maintainers to append CFLAGS #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic # package maintainers to append LDFLAGS #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ --with autotools_dev,autoreconf # dh_make generated override targets override_dh_auto_configure: dh_auto_configure -- --prefix=/usr libexecs-1.1/.git/description0000644000175000017500000000011113173400623015556 0ustar giuliagiuliaUnnamed repository; edit this file 'description' to name the repository. libexecs-1.1/.git/index0000644000175000017500000000376013173400630014355 0ustar giuliagiuliaDIRCYY$gCbQ׳N;0gw*COPYINGYY$ XS^ DH'H, Makefile.amYY$?=F`!U ib*HY README.mdYY$#}֘$ $source1 0 n,֥kU4AK@j9?U}libexecs-1.1/.git/config0000644000175000017500000000041213173400630014502 0ustar giuliagiulia[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://github.com/rd235/s2argv-execs.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master libexecs-1.1/.git/packed-refs0000644000175000017500000000046613173400630015432 0ustar giuliagiulia# pack-refs with: peeled fully-peeled sorted fe081577079313bcfb5c27b4ebc6cb017c633f8a refs/remotes/origin/master 5b27020405665d462430192f908fd255bafa4c39 refs/tags/v0.9 ^d6b97a59272e4daea4d8beeff74629b1cac19dd0 3777e68a5a38b641490d2b682939f1c7556d00b8 refs/tags/v1.1 ^fe081577079313bcfb5c27b4ebc6cb017c633f8a libexecs-1.1/.git/HEAD0000644000175000017500000000002713173400630013740 0ustar giuliagiuliaref: refs/heads/master libexecs-1.1/COPYING0000644000175000017500000006364213173400630013522 0ustar giuliagiulia GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. 11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it! libexecs-1.1/Makefile.am0000644000175000017500000000577213173400630014523 0ustar giuliagiulialib_LTLIBRARIES = libexecs.la libexecs-embedded.la noinst_PROGRAMS = execstest AM_CFLAGS= -Werror -Wall libexecs_la_SOURCES = execs.c noshell.c libexecs_la_LDFLAGS = -version-number 0:9:0 libexecs_embedded_la_SOURCES = execs.c libexecs_embedded_la_CPPFLAGS = -DEEXECS libexecs_embedded_la_LDFLAGS = -version-number 0:9:0 execstest_SOURCE = exectest.c execstest_LDADD = libexecs.la include_HEADERS = execs.h man_MANS = s2argv.3 execs.3 system_nosh.3 popen_nosh.3 coprocess.3 esystem.3 install-data-hook: ln -sf esystem.3 $(DESTDIR)$(man3dir)/system_eexecsp.3 ln -sf execs.3 $(DESTDIR)$(man3dir)/execse.3 ln -sf execs.3 $(DESTDIR)$(man3dir)/execsp.3 ln -sf execs.3 $(DESTDIR)$(man3dir)/execspe.3 ln -sf execs.3 $(DESTDIR)$(man3dir)/eexecs.3 ln -sf execs.3 $(DESTDIR)$(man3dir)/eexecse.3 ln -sf execs.3 $(DESTDIR)$(man3dir)/eexecsp.3 ln -sf execs.3 $(DESTDIR)$(man3dir)/eexecspe.3 ln -sf system_nosh.3 $(DESTDIR)$(man3dir)/system_execs.3 ln -sf system_nosh.3 $(DESTDIR)$(man3dir)/system_execsp.3 ln -sf system_nosh.3 $(DESTDIR)$(man3dir)/system_execsa.3 ln -sf system_nosh.3 $(DESTDIR)$(man3dir)/system_execsr.3 ln -sf system_nosh.3 $(DESTDIR)$(man3dir)/system_execsrp.3 ln -sf system_nosh.3 $(DESTDIR)$(man3dir)/system_execsra.3 ln -sf popen_nosh.3 $(DESTDIR)$(man3dir)/pclose_nosh.3 ln -sf popen_nosh.3 $(DESTDIR)$(man3dir)/popen_execsp.3 ln -sf popen_nosh.3 $(DESTDIR)$(man3dir)/pclose_execsp.3 ln -sf popen_nosh.3 $(DESTDIR)$(man3dir)/popen_execs.3 ln -sf popen_nosh.3 $(DESTDIR)$(man3dir)/pclose_execs.3 ln -sf coprocess.3 $(DESTDIR)$(man3dir)/coprocv.3 ln -sf coprocess.3 $(DESTDIR)$(man3dir)/coprocve.3 ln -sf coprocess.3 $(DESTDIR)$(man3dir)/coprocvp.3 ln -sf coprocess.3 $(DESTDIR)$(man3dir)/coprocvpe.3 ln -sf coprocess.3 $(DESTDIR)$(man3dir)/coprocs.3 ln -sf coprocess.3 $(DESTDIR)$(man3dir)/coprocse.3 ln -sf coprocess.3 $(DESTDIR)$(man3dir)/coprocsp.3 ln -sf coprocess.3 $(DESTDIR)$(man3dir)/coprocspe.3 uninstall-hook: rm -f $(DESTDIR)$(man3dir)/system_eexecsp.3 rm -f $(DESTDIR)$(man3dir)/execse.3 rm -f $(DESTDIR)$(man3dir)/execsp.3 rm -f $(DESTDIR)$(man3dir)/execspe.3 rm -f $(DESTDIR)$(man3dir)/eexecs.3 rm -f $(DESTDIR)$(man3dir)/eexecse.3 rm -f $(DESTDIR)$(man3dir)/eexecsp.3 rm -f $(DESTDIR)$(man3dir)/eexecspe.3 rm -f $(DESTDIR)$(man3dir)/system_execs.3 rm -f $(DESTDIR)$(man3dir)/system_execsp.3 rm -f $(DESTDIR)$(man3dir)/system_execsa.3 rm -f $(DESTDIR)$(man3dir)/system_execsr.3 rm -f $(DESTDIR)$(man3dir)/system_execsrp.3 rm -f $(DESTDIR)$(man3dir)/system_execsra.3 rm -f $(DESTDIR)$(man3dir)/pclose_nosh.3 rm -f $(DESTDIR)$(man3dir)/popen_execsp.3 rm -f $(DESTDIR)$(man3dir)/pclose_execsp.3 rm -f $(DESTDIR)$(man3dir)/popen_execs.3 rm -f $(DESTDIR)$(man3dir)/pclose_execs.3 rm -f $(DESTDIR)$(man3dir)/coprocv.3 rm -f $(DESTDIR)$(man3dir)/coprocve.3 rm -f $(DESTDIR)$(man3dir)/coprocvp.3 rm -f $(DESTDIR)$(man3dir)/coprocvpe.3 rm -f $(DESTDIR)$(man3dir)/coprocs.3 rm -f $(DESTDIR)$(man3dir)/coprocse.3 rm -f $(DESTDIR)$(man3dir)/coprocsp.3 rm -f $(DESTDIR)$(man3dir)/coprocspe.3 libexecs-1.1/README.md0000644000175000017500000000122713173400630013735 0ustar giuliagiulias2argv-execs ============ s2argv converts a command string into an argv array for execv, execvp, execvpe. execs is like execv taking a string instead of an argv. Similarly execsp and execspe are the counterpart of execvp and execvpe, respectively, using command strings. Use cases are included in the man pages. To install this library: ``` $ autoreconf -if $ ./configure $ make $ sudo make install ``` To create the .deb package: ``` $ git clone https://github.com/rd235/s2argv-execs.git $ cd s2argv-execs/ $ ./create_deb.sh ``` Note that by doing so binary packages will be created in the parent directory. Copyright Renzo Davoli 2014, renzo@cs.unibo.it libexecs-1.1/configure.ac0000644000175000017500000000107413173400630014744 0ustar giuliagiuliaAC_PREREQ([2.68]) AC_INIT([execs], [0.9], [info@v2.cs.unibo.it]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AC_CONFIG_SRCDIR([execs.c]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_LIBTOOL AC_PROG_CC # Checks for libraries. # Checks for header files. AC_CHECK_HEADERS([stdlib.h string.h stdio.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_INLINE # Checks for library functions. AC_CHECK_FUNCS([execv execvp execvpe]) AC_CHECK_FUNCS([strlen strdup]) AC_CHECK_FUNCS([calloc free]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT libexecs-1.1/coprocess.30000644000175000017500000000611013173400630014536 0ustar giuliagiulia.\"* coprocess: exec extensions for coprocesing .\" Copyright (C) 2014 Renzo Davoli. University of Bologna. .\" .\" This library is free software; you can redistribute it and/or .\" modify it under the terms of the GNU Lesser General Public .\" License as published by the Free Software Foundation; either .\" version 2.1 of the License, or (at your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Lesser General Public License for more details. .\" .\" You should have received a copy of the GNU Lesser General Public .\" License along with this library; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .TH coprocess 3 2014-05-27 "VirtualSquare" "Linux Programmer's Manual" .SH NAME coprocv, coprocvp, coprocvpe, coprocs, coprocsp \- execute a command in coprocessing mode .SH SYNOPSIS .B #include .sp .BI "pid_t coprocv(const char *" path ", char *const " argv "[], int " pipefd "[2]);" .br .BI "pid_t coprocve(const char *" path ", char *const " argv "[]," .br .BI " char *const " envp "[], int " pipefd "[2]);" .br .BI "pid_t coprocvp(const char *" file ", char *const " argv "[], int " pipefd "[2]); .br .BI "pid_t coprocvpe(const char *" file ", char *const " argv "[]," .br .BI " char *const " envp "[], int " pipefd "[2]); .sp .BI "pid_t coprocs(const char *" path ", const char *" command ", int " pipefd "[2]); .br .BI "pid_t coprocse(const char *" path ", const char *" command "," .br .BI " char *const " envp "[], int " pipefd "[2]); .br .BI "pid_t coprocsp(const char *" command ", int " pipefd "[2]); .br .BI "pid_t coprocspe(const char *" command ", char *const " envp "[]," .br .BI " int " pipefd "[2]); .sp These functions are provided by libexecs. Link with \fI-lexecs\fR. .SH DESCRIPTION These functions run commands in coprocessing mode. They differs in the way to specify the executable file to run and its parameters. All of them define two pipes (by \fBpipe\fR(2)), create a new process by \fBfork\fR(2), redirect the standard input and output of the new process in the two pipes, and exec a program by one of the \fBexec\fR(3) functions. .sp The calling program controls both the standard input and the standard output of the called process: writing to \fBpipefd[1]\fR provides input to the coprocess while the coprocess output can be retrieved from \fBpipefd[0]\fR. .sp \fBcoprocv\fR, \fBcoprocve\fR, \fBcoprocvp\fR, \fBcoprocvpe\fR, \fBcoprocs\fR, \fBcoprocse\fR, \fBcoprocsp\fR, and \fBcoprocsp\fR differ as they define the executable file to run and its arguments as \fBexecv\fR, \fBexecve\fR, \fBexecvp\fR, \fBexecvpe\fR, \fBexecs\fR, \fBexecse\fR, \fBexecsp\fR, and \fBexecsp\fR, repectively. .SH BUGS Bug reports should be addressed to .SH AUTHOR Renzo Davoli libexecs-1.1/create_deb.sh0000755000175000017500000000040213173400630015064 0ustar giuliagiulia#!/bin/bash UPSTREAM_VERSION="$(dpkg-parsechangelog --show-field Version | sed 's/-.*$//')" cd .. tar zcvf libexecs_${UPSTREAM_VERSION}.orig.tar.gz --transform "s/^s2argv-execs/libexecs_${UPSTREAM_VERSION}/" s2argv-execs cd s2argv-execs debuild -uc -us -sa libexecs-1.1/esystem.30000644000175000017500000000517113173400630014235 0ustar giuliagiulia.\"* esystem: system replacement not using any shell (iversion for embedded systems) .\" Copyright (C) 2014 Renzo Davoli. University of Bologna. .\" .\" This library is free software; you can redistribute it and/or .\" modify it under the terms of the GNU Lesser General Public .\" License as published by the Free Software Foundation; either .\" version 2.1 of the License, or (at your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Lesser General Public License for more details. .\" .\" You should have received a copy of the GNU Lesser General Public .\" License along with this library; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .TH system_nosh 3 2014-05-27 "VirtualSquare" "Linux Programmer's Manual" .SH NAME esystem, system_eexecsp \- execute a command with its arguments from a string without using a shell .SH SYNOPSIS .B #include .br .B #include .sp .BI "int esystem(const char *" command ");" .br .BI "int system_eexecsp(const char *" command ");" .sp These functions are provided by libexecs and libeexecs. Link with \fI-lexecs\fR or \fI-leexecs\fR. .SH DESCRIPTION \fBesystem\fR is an almost drop in replacement for \fBsystem\fR(3) provided by the libc. \fBesystem\fR parses the command string and runs the command directly, without using a shell. (\fBsystem_eexecsp\fR and \fBesystem\fR are synonyms). .br Command arguments in \fIargs\fR are delimited by space characters (blank, tabs or new lines). Single or double quotes can be used to delimitate command arguments including spaces and a non quoted backslash (\fB\e\fP) is the escape character to protect the next char. The executable file is sought using the PATH environment variable as explained for \fBexeclp\fR(3). .br .SH RETURN VALUE These functions have the same return values of \fBsystem\fR(3). .SH EXAMPLE The following program shows the usage of \fBesystem\fR: .BR .sp \& .nf #include #include #include #define BUFLEN 1024 int main(int argc, char *argv) { char buf[BUFLEN]; printf("type in a command and its arguments, e.g. 'ls -l'\\n"); while (fgets(buf, BUFLEN, stdin) != NULL) { printf("Command: '%s' \\n",buf); esystem(buf); printf("Command done\\n"); } } .fi .SH SEE ALSO .BR system (3), execs (3), s2argv(3), system_nosh(3) .SH BUGS Bug reports should be addressed to .SH AUTHOR Renzo Davoli libexecs-1.1/execs.30000644000175000017500000000670013173400630013652 0ustar giuliagiulia.\"* execs: convert strings to argv .\" Copyright (C) 2014 Renzo Davoli. University of Bologna. .\" .\" This library is free software; you can redistribute it and/or .\" modify it under the terms of the GNU Lesser General Public .\" License as published by the Free Software Foundation; either .\" version 2.1 of the License, or (at your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Lesser General Public License for more details. .\" .\" You should have received a copy of the GNU Lesser General Public .\" License along with this library; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .TH execs 3 2014-05-27 "VirtualSquare" "Linux Programmer's Manual" .SH NAME execs, execsp, execspe \- execute a file taking its arguments from a string .SH SYNOPSIS .B #include .br .B #include .sp .BI "int execs(const char *" path ", const char *" args ");" .br .BI "int execse(const char *" path ", const char *" args ", char *const " envp "[]);" .br .BI "int execsp(const char *" args ");" .br .BI "int execspe(const char *" args ", char *const " envp "[]);" .sp .sp .sp .BI "int eexecs(const char *" path ", char *" args ");" .br .BI "int eexecse(const char *" path ", char *" args ", char *const " envp "[]);" .br .BI "int eexecsp(char *" args ");" .br .BI "int eexecspe(char *" args ", char *const " envp "[]);" .sp These functions are provided by libexecs and libeexecs. Link with \fI-lexecs\fR or \fI-leexecs\fR. .SH DESCRIPTION This group of functions extends the family of \fBexec\fR(3) provided by the libc. .br \fBexecs\fR, \fBexecse\fR, \fBexecsp\fR and \fBexecspe\fR are similar to \fBexecv\fR(3), \fBexecve\fR(2), \fBexecvp\fR(3) and \fBexecvpe\fR(3), respectively, but take the command line arguments for the file to execute (and the also the command name for \fBexecsp\fR(3) and \fBexecspe\fR(3)) by parsing a command string \fIargs\fR. .br Command arguments in \fIargs\fR are delimited by space characters (blank, tabs or new lines). Single or double quotes can be used to delimitate command arguments including spaces and a non quoted backslash (\fB\e\fP) is the escape character to protect the next char. .br \fBexecs\fR, \fBexecse\fR, \fBexecsp\fR and \fBexecspe\fR do not use dynamic allocation but require space on the stack to store an entire copy of \fIargs\fR. \fBeexecs\fR, \fBeexecse\fR, \fBeexecsp\fR and \fBeexecspe\fR do not use extra stack space but modify \fIargs\fR. In case the same argv should be used for several exec command, use \fBs2argv\fR(3) to parse the args just once. .SH RETURN VALUE These functions return only if an error has occurred. The return value is always \-1. The failure cases and errno values are those specified for \fBexecve\fR(2). .SH EXAMPLE The following program demonstrates the use of \fBexecs\fR: .BR .sp \& .nf #include #include #include #define BUFLEN 1024 int main(int argc, char *argv) { char buf[BUFLEN]; printf("type in a command and its arguments, e.g. 'ls -l'\\n"); if (fgets(buf, BUFLEN, stdin) != NULL) { execsp(buf); printf("exec error\\n"); } } .fi .SH SEE ALSO .BR exec (3), s2argv (3) .SH BUGS Bug reports should be addressed to .SH AUTHOR Renzo Davoli libexecs-1.1/execs.c0000644000175000017500000001373113173400630013734 0ustar giuliagiulia/* * s2argv: convert strings to argv * Copyright (C) 2014 Renzo Davoli. University of Bologna. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #define _GNU_SOURCE #include #include #include #include #include //char *sn[] = { "END", "SPACE", "CHAR", "SGLQ", "DBLQ", "ESCAPE", "SEMIC", "VAR", "ESCVAR", "DBLESC" }; #define END 0 #define SPACE 1 #define CHAR 2 #define SGLQ 3 //single quote #define DBLQ 4 //double quote #define ESCAPE 5 // escape '\' #define SEMIC 6 // semicolon ; #define VAR 7 // $name #define ESCVAR 8 // '\' in variable name #define DBLESC 9 // '\' in double quoted text #define NSTATES (DBLESC+1) #define NEWARG 0x1 // beginning of a new argument #define CHCOPY 0x2 // copy the char in current argv #define ENDARG 0x4 // end of an argument #define ENDVAR 0x8 // end of a variable #define ENDCMD 0x10 // end of a command /* This is the FSA used to get the lexical items of the command line */ char nextstate[NSTATES][NSTATES-1]= { {END, 0, 0, 0, 0, 0, 0, 0}, // END {END,SPACE,CHAR,SGLQ,DBLQ,ESCAPE,SEMIC, VAR}, // SPACE {END,SPACE,CHAR,SGLQ,DBLQ,ESCAPE,SEMIC,CHAR}, // CHAR {END, SGLQ,SGLQ,CHAR,SGLQ, SGLQ, SGLQ,SGLQ}, // SGLQ {END, DBLQ,DBLQ,DBLQ,CHAR,DBLESC, DBLQ,DBLQ}, // DBLQ {END, CHAR,CHAR,CHAR,CHAR, CHAR, CHAR,CHAR}, // ESCAPE {END,SEMIC,CHAR,SGLQ,DBLQ,ESCAPE,SEMIC, VAR}, // SEMIC {END,SPACE, VAR, VAR, VAR, VAR,SEMIC, VAR}, // VAR {END, VAR, VAR, VAR, VAR, VAR, VAR, VAR}, // ESCVAR {END, DBLQ,DBLQ,DBLQ,DBLQ, DBLQ, DBLQ,DBLQ}}; // DBLESC char action[NSTATES][NSTATES-1]= { {ENDCMD| 0, 0, 0, 0, 0, 0, 0, 0}, //END {ENDCMD| 0, 0,NEWARG|CHCOPY,NEWARG,NEWARG,NEWARG, ENDCMD,NEWARG}, //SPACE {ENDCMD|ENDARG,ENDARG, CHCOPY, 0, 0, 0,ENDCMD|ENDARG, 0}, //CHAR {ENDCMD|ENDARG,CHCOPY, CHCOPY, 0,CHCOPY,CHCOPY, CHCOPY,CHCOPY}, //SNGQ {ENDCMD|ENDARG,CHCOPY, CHCOPY,CHCOPY, 0,CHCOPY, CHCOPY,CHCOPY}, //DBLQ {ENDCMD|ENDARG,CHCOPY, CHCOPY,CHCOPY,CHCOPY,CHCOPY, CHCOPY,CHCOPY}, //ESCAPE {ENDCMD| 0, 0,NEWARG|CHCOPY,NEWARG,NEWARG,NEWARG, 0,NEWARG}, //SEMIC {ENDCMD|ENDVAR,ENDVAR, CHCOPY, 0, 0, 0,ENDCMD|ENDVAR, 0}, //VAR {ENDCMD|ENDVAR,CHCOPY, CHCOPY,CHCOPY,CHCOPY,CHCOPY, CHCOPY,CHCOPY}, //ESCVAR {ENDCMD|ENDARG,CHCOPY, CHCOPY,CHCOPY,CHCOPY,CHCOPY, CHCOPY,CHCOPY}}; //DBLESC char *getvar_null(const char *name); s2argv_getvar_t s2argv_getvar=getvar_null; int (* execs_fork_security)(void *execs_fork_security_arg); void *execs_fork_security_arg; char *getvar_null(const char *name) { return ""; } static int args_fsa(const char *args, char **argv, char *buf) { int state=SPACE; int argc=0; char *thisarg=NULL; for (;state != END;args++) { int this; switch (*args) { case 0: this=END; break; case ' ': case '\t': case '\n': this=SPACE; break; case '\'': this=SGLQ; break; case '"': this=DBLQ; break; case '\\': this=ESCAPE; break; case ';': this=SEMIC; break; case '$': this=VAR; break; default: this=CHAR; } if (argv) { if (action[state][this] & NEWARG) thisarg=buf; if (action[state][this] & CHCOPY) *buf++=*args; if (action[state][this] & ENDARG) { *buf++=0; *argv++=thisarg; } if (action[state][this] & ENDVAR) { *buf++=0; if (s2argv_getvar) { *argv=s2argv_getvar(thisarg); if (*argv == NULL) *argv=""; } else *argv=""; argv++; } if (action[state][this] & ENDCMD) *argv++=0; } if (action[state][this] & (ENDARG|ENDVAR)) argc++; if (action[state][this] & ENDCMD) argc++; //printf("%c %s+%s=%s %x\n",*args,sn[state],sn[this],sn[nextstate[state][this]],action[state][this]); //printf("%s %d->%d\n",args,state,nextstate[state][this]); state=nextstate[state][this]; } if (argv) *argv=0; return argc; } #ifndef EEXECS char **s2argv(const char *args) { int argc=args_fsa(args,NULL,NULL); char buf[strlen(args)+1]; char **argv=calloc(argc+1,sizeof(char *)); if (argv) { int i; args_fsa(args,argv,buf); for (i=0; i * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef S2ARGV_H #define S2ARGV_H #include #include #include #include #include extern char **environ; /* This header file declares all the functions defined in the libexecs and libeexecs libraries. libeexecs is a minimal subset of the libexecs library designed for embedded systems with strict memory requirements. It implements only the execs* functions. Programs using libexecs can also use the esystem (a.k.a. system_eexecsp) inline function */ /* fork security: if defined this function gets called for each child process created by this library. If it returns a non zero value it fails and exec is aborted */ /* it can be used to drop privileges such as capabilities */ extern int (* execs_fork_security)(void *execs_fork_security_arg); extern void *execs_fork_security_arg; /***************** library functions defined both in libexecs and in libeexecs ********/ /* execs is like execv: argv is computed by parsing args */ /* execsp is like execvp: argv is computed by parsing args, argv[0] is the executable file to be searched for along $PATH */ /* execse and execspe permit the specification of the environment (as in execve or execvpe) */ /* execs, execse, execsp and execspe do not require dynamic allocation *but* require an extra copy of args on the stack */ /* in all eexecs* functions, the string args is modified (no extra copies on the stack, args is parsed on itself): */ int execs_common(const char *path, const char *args, char *const envp[], char *buf); static inline int execse(const char *path, const char *args, char *const envp[]) { char buf[strlen(args)+1]; return execs_common(path, args, envp, buf); } #define execs(path, args) execse((path),(args),environ) #define execsp(args) execse(NULL,(args),environ) #define execspe(args,env) execse(NULL,(args),(env)) #define eexecs(path, args) execs_common((path),(args),environ,(args)) #define eexecse(path, args, env) execs_common((path),(args),(env),(args)) #define eexecsp(args) execs_common(NULL,(args),environ,(args)) #define eexecspe(args,env) execs_common(NULL,(args),(env),(args)) static inline int system_eexecsp(const char *command) { int status; pid_t pid; switch (pid=fork()) { case -1: return -1; case 0: if (__builtin_expect(execs_fork_security == NULL || execs_fork_security(execs_fork_security_arg) == 0, 1)) execs_common(NULL, (char *) command, environ, (char *) command); _exit(127); default: waitpid(pid,&status,0); return status; } } #define esystem(cmd) system_eexecsp(cmd) /******** library functions defined in libexecs only (not in libeexec) ********/ /* system_nosh is an "almost" drop in replacement for system(3). it does not start a shell but it parses the arguments and runs the command */ /* system_execs is similar to system_nosh but instead of searching the executable file along the directories listed in $PATH it starts the program whose path has been passed as its first arg. */ int system_execsr(const char *path, const char *command, int redir[3]); #define system_nosh(cmd) system_execsr(NULL,(cmd),NULL) #define system_execsrp(cmd,redir) system_execsr(NULL,(cmd),(redir)) #define system_execsra(cmd,redir) system_execsr("",(cmd),(redir)) #define system_execs(path,cmd) system_execsr((path),(cmd),NULL) #define system_execsp(cmd) system_execsr(NULL,(cmd),NULL) #define system_execsa(cmd) system_execsr("",(cmd),NULL) /* popen_nosh is an "almost" drop in replacement for popen(3), and pclose_nosh is its counterpart for pclose(3). */ /* popen_execs/pclose_execs do not use $PATH to search the executable file*/ FILE *popen_execs(const char *path, const char *command, const char *type); int pclose_execs(FILE *stream); #define popen_nosh(cmd, type) popen_execs(NULL, (cmd), (type)) #define pclose_nosh(stream) pclose_execs(stream) #define popen_execsp(cmd, type) popen_execs(NULL, (cmd), (type)) #define pclose_execsp(stream) pclose_execs(stream) /* run a command in coprocessing mode */ pid_t coprocess_common(const char *path, const char *command, char *const argv[], char *const envp[], int pipefd[2]); #define coprocv(path, argv, pfd) coprocess_common((path),NULL,(argv), environ, pfd) #define coprocve(path, argv, env, pfd) coprocess_common((path),NULL,(argv), (env), pfd) #define coprocvp(file, argv, pfd) coprocess_common(NULL,(file),(argv), environ, pfd) #define coprocvpe(file, argv, env, pfd) coprocess_common(NULL,(file),(argv), (env), pfd) #define coprocs(path, cmd, pfd) coprocess_common((path),(cmd),NULL, environ, pfd) #define coprocse(path, cmd, env, pfd) coprocess_common((path),(cmd),NULL, (env), pfd) #define coprocsp(cmd, pfd) coprocess_common(NULL,(cmd),NULL, environ, pfd) #define coprocspe(cmd, env, pfd) coprocess_common(NULL,(cmd),NULL, (env), pfd) /* Low level argc management functions */ /* s2argv parses args. It allocates, initializes and returns an argv array, ready for execv. s2argv is able to parse several commands separated by semicolons (;). The return value is the sequence of all the corresponding argv (each one has a NULL element as its terminator) and one further NULL element terminates the whole sequence. (i.e. this multi-argv has two NULLs in a row at its end). This format is compatible with the standard argv. */ char **s2argv(const char *args); /* s2argv_free deallocates an argv returned by s2argv */ void s2argv_free(char **argv); /* number of elements of argv */ size_t s2argvlen(char **argv); /* argc of the (first) command */ /* argv=argv+s2argc(argv)+1 is the next argv */ size_t s2argc(char **argv); /* var definition function (e.g. s2argv_getvar=getenv)*/ typedef char * (* s2argv_getvar_t) (const char *name); extern s2argv_getvar_t s2argv_getvar; /* getvar_null is the deafult value for s2argv_getvar, it always returns an empty string for any variable name */ char *getvar_null(const char *name); /* multi argv. Args can contain several commands semicolon (;) separated. This function parses args and calls f for each command/argv in args. If f returns 0 s2multiargv calls f for the following argv, otherwise returns the non-zero value. */ int s2multiargv(const char *args, int (*f)(char **argv, void *opaque), void *opaque); #endif libexecs-1.1/execstest.c0000644000175000017500000000330513173400630014630 0ustar giuliagiulia /* * s2argv: convert strings to argv * Copyright (C) 2014 Renzo Davoli. University of Bologna. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #define _GNU_SOURCE #include #include #include #include #include static void printargv(char **argv) { for(;*argv!=0;argv++) { int argc=0; for(;*argv!=0;argv++,argc++) printf("argv[%d]=\"%s\"\n",argc,*argv); argc++; } } static int print1argv(char **argv, void *useless) { int argc=0; for(;*argv!=0;argv++,argc++) printf("argv[%d]=\"%s\"\n",argc,*argv); return 0; } int main() { char buf[1024]; s2argv_getvar=getenv; while (1) { char **myargv; if (fgets(buf,1024,stdin) == NULL) return 0; buf[strlen(buf)-1]=0; myargv=s2argv(buf); printargv(myargv); printf("len %zd argc %zd\n", s2argvlen(myargv), s2argc(myargv)); s2argv_free(myargv); s2multiargv(buf, print1argv, NULL); if (fork()==0) { eexecsp(buf); exit(-1); } else { int status; wait(&status); } } } libexecs-1.1/noshell.c0000644000175000017500000000757313173400630014300 0ustar giuliagiulia#define _GNU_SOURCE #include #include #include #include #include #include #include struct system_execsr_t { const char *path; int *redir; }; static int system_execsr_f(char **argv, void *arg) { struct system_execsr_t *v=arg; int status; pid_t pid; switch (pid=fork()) { case -1: return -1; case 0: if (__builtin_expect(execs_fork_security && execs_fork_security(execs_fork_security_arg) != 0, 0)) _exit(127); if (v->redir) { int i; for (i=0; i<3; i++) { if (v->redir[i] >= 0 && v->redir[i] != i) { dup2(v->redir[i],i); close(v->redir[i]); } } } if (v->path) { if (*v->path) execv(v->path, argv); else if (argv[0][0] == '/') execv(argv[0], argv); else _exit(127); } else execvp(argv[0], argv); _exit(127); default: waitpid(pid,&status,0); return status; } } int system_execsr(const char *path, const char *command, int redir[3]) { struct system_execsr_t execsrvar={path,redir}; if (command) { return s2multiargv(command, system_execsr_f, &execsrvar); } else return 1; // for system compatibility } pid_t coprocess_common(const char *path, const char *command, char *const argv[], char *const envp[], int pipefd[2]) { if (command) { int pfd_in[2]; int pfd_out[2]; pid_t pid; if (pipe2(pfd_in, O_CLOEXEC) == -1 || pipe2(pfd_out, O_CLOEXEC) == -1) return -1; switch (pid=fork()) { case -1: return -1; case 0: if (__builtin_expect(execs_fork_security && execs_fork_security(execs_fork_security_arg) != 0, 0)) _exit(127); if (dup2(pfd_in[0],0) == -1 || dup2(pfd_out[1],1) == -1) _exit(127); close(pfd_in[0]); close(pfd_in[1]); close(pfd_out[0]); close(pfd_out[1]); if (argv) { if (path) execve(path, argv, envp); else execvpe(command, argv, envp); } else execse(path, command, envp); _exit(127); default: pipefd[0]=pfd_out[0]; pipefd[1]=pfd_in[1]; close(pfd_in[0]); close(pfd_out[1]); return pid; } } else return 1; } struct popen_info { FILE *stream; pid_t pid; struct popen_info *next; }; static struct popen_info *popen_list; FILE *popen_execs(const char *path, const char *command, const char *type) { if ((type[0] == 'r' || type[0] == 'w') && (type[1] == 0 || type[1] == 'e')) { int fd[2]; struct popen_info *new; int streamno = (type[0] == 'r') ? STDIN_FILENO : STDOUT_FILENO; if (pipe2(fd, O_CLOEXEC)) return NULL; if ((new=malloc(sizeof(struct popen_info)))==NULL) { errno = ENOMEM; return NULL; } switch (new->pid = fork()) { case -1: close(fd[0]); close(fd[1]); free(new); return NULL; case 0: if (__builtin_expect(execs_fork_security && execs_fork_security(execs_fork_security_arg) != 0, 0)) _exit(127); dup2(fd[1-streamno],1-streamno); close(fd[0]); close(fd[1]); if (path) eexecs(path, (char *) command); else eexecsp((char *) command); _exit(127); default: close(fd[1-streamno]); if (type[1] == 'e') fcntl(fd[streamno], F_SETFD, FD_CLOEXEC); if ((new->stream = fdopen(fd[streamno], type)) == NULL) { close(streamno); free(new); return NULL; } else { new->next = popen_list; popen_list = new; return new->stream; } } } else { errno = EINVAL; return NULL; } } int pclose_execs(FILE *stream) { struct popen_info **pprev; for (pprev = &popen_list; *pprev != NULL; pprev = &((*pprev)->next)) { struct popen_info *curr = *pprev; if (curr->stream == stream) { int status; pid_t waitrv; *pprev = curr->next; fclose(curr->stream); while ((waitrv = waitpid(curr->pid, &status, 0)) == -1 && errno == EINTR) ; free(curr); if (waitrv != -1) return status; else { errno = ECHILD; return -1; } } } errno = EINVAL; return -1; } libexecs-1.1/popen_nosh.30000644000175000017500000000514613173400630014716 0ustar giuliagiulia.\"* popen_nosh: system replacement not using any shell .\" Copyright (C) 2014 Renzo Davoli. University of Bologna. .\" .\" This library is free software; you can redistribute it and/or .\" modify it under the terms of the GNU Lesser General Public .\" License as published by the Free Software Foundation; either .\" version 2.1 of the License, or (at your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Lesser General Public License for more details. .\" .\" You should have received a copy of the GNU Lesser General Public .\" License along with this library; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .TH popen_nosh 3 2014-05-27 "VirtualSquare" "Linux Programmer's Manual" .SH NAME popen_nosh, pclose_nosh, popen_execs, pclose_execs, \- pipe stream to or from a process without using a shell .SH SYNOPSIS .B #include .br .B #include .sp .BI "FILE *popen_nosh(const char *" command ", const char *" type ");" .br .BI "int pclose_nosh(FILE *" stream ");" .sp .BI "FILE *popen_execsp(const char *" command ", const char *" type ");" .br .BI "int pclose_execsp(FILE *" stream ");" .sp .BI "FILE *popen_execs(const char *" path ",const char *" command ", const char *" type ");" .br .BI "int pclose_execs(FILE *" stream ");" .sp These functions are provided by libexecs. Link with \fI-lexecs\fR. .SH DESCRIPTION \fBpopen_nosh\fR, \fBpopen_execsp\fR and \fBpclose_nosh\fR are almost drop in replacement for \fBpopen\fR(3) and \fBpclose\fR(3) provided by the libc. \fBpopen_nosh\fR and \fBpopen_execsp\fR are synonyms: they parse the command string and run the command directly, without using a shell. .br Command arguments in \fIargs\fR are delimited by space characters (blank, tabs or new lines). Single or double quotes can be used to delimitate command arguments including spaces and a non quoted backslash (\fB\e\fP) is the escape character to protect the next char. The executable file is sought using the PATH environment variable as explained for \fBexeclp\fR(3). .br \fBpclose_nosh\fR closes a stream opened by \fBpopen_nosh\fR. .br \fBpopen_execs\fR requires the path of the executable to be specified as its first parameter so it does not use the PATH environment variable. \fBpclose_execs\fR closes a stream opened by \fBpopen_execs\fR. .SH RETURN VALUE These functions have the same return values of \fBpopen\fR(3) and \fBpclose\fR(3). libexecs-1.1/s2argv.30000644000175000017500000000664213173400630013754 0ustar giuliagiulia.\"* s2argv: convert strings to argv .\" Copyright (C) 2014 Renzo Davoli. University of Bologna. .\" .\" This library is free software; you can redistribute it and/or .\" modify it under the terms of the GNU Lesser General Public .\" License as published by the Free Software Foundation; either .\" version 2.1 of the License, or (at your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Lesser General Public License for more details. .\" .\" You should have received a copy of the GNU Lesser General Public .\" License along with this library; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .TH S2ARGV 3 2014-05-27 "VirtualSquare" "Linux Programmer's Manual" .SH NAME s2argv \- convert a command string in an argv array .SH SYNOPSIS .B #include .br .B #include .br .B #include .sp .BI "char **s2argv(const char *" args ");" .br .BI "void s2argv_free(char **" argv ");" .sp .br .BI "size_t s2argvlen(char **" argv ");" .sp .br .BI "size_t s2argc(char **" argv ");" .sp .br .BI "typedef char * (* s2argv_getvar_t) (const char *name);" .br .BI "extern s2argv_getvar_t s2argv_getvar;" .sp These functions are provided by libexecs and libeexecs. Link with \fI-lexecs\fR or \fI-leexecs\fR. .sp .SH DESCRIPTION .BR s2argv convert a command string in an argv array for \fBexecv\fR(3), \fBexecvp\fR(3) or \fBexecvpe\fR(3). Single or double quotes can be used to delimitate command arguments including spaces and a non quoted backslash (\fB\e\fP) is the escape character to protect the next char. .br \fBs2argv\fR can parse several commands separated by semicolons (\fB;\fR). The argv of each command is terminated by a NULL element, one further NULL element tags the end of the array returned by s2argv. .br \fBs2argv\fR supports variables as arguments. When an argument of a command is a dollar sign followed by a name (e.g. $USER) \fBs2argv\fR puts the output of the \fBs2argv_getvar\fR function instead. (The default value is \fBs2argv_getvar=getenv\fR. Programmers can use their own custom function instead). .sp .BR s2argv_free frees the memory that was allocated by \fBs2argv\fR. .sp .BR s2argvlen returns the length of the array returned by \fBs2argv\fR. .sp .BR s2argc returns the number of arguemnts of the (first) command returned by \fBs2argv\fR. (The beginning of the next argv is \fBargv+s2argc(argv)+1\fR). .SH RETURN VALUE .BR s2argv returns a dynamically allocated argv, ready to be used as an argument to \fBexecv\fR(3), \fBexecvp\fR(3) or \fBexecvpe\fR(3). The return value of .BR s2argv should be freed by .BR s2argv_free in case the exec command does not succeed. .SH EXAMPLE The following program demonstrates the use of \fBs2argv\fR: .BR .sp \& .nf #include #include #include #include #define BUFLEN 1024 int main(int argc, char *argv) { char buf[BUFLEN]; printf("type in a command and its arguments, e.g. 'ls -l'\\n"); if (fgets(buf, BUFLEN, stdin) != NULL) { char **argv=s2argv(buf); execvp(argv[0], argv); s2argv_free(argv); printf("exec error\\n"); } } .fi .SH SEE ALSO .BR exec (3) .SH BUGS Bug reports should be addressed to .SH AUTHOR Renzo Davoli libexecs-1.1/system_nosh.30000644000175000017500000001013013173400630015106 0ustar giuliagiulia.\"* system_nosh: system replacement not using any shell .\" Copyright (C) 2014 Renzo Davoli. University of Bologna. .\" .\" This library is free software; you can redistribute it and/or .\" modify it under the terms of the GNU Lesser General Public .\" License as published by the Free Software Foundation; either .\" version 2.1 of the License, or (at your option) any later version. .\" .\" This library is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU .\" Lesser General Public License for more details. .\" .\" You should have received a copy of the GNU Lesser General Public .\" License along with this library; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .TH system_nosh 3 2014-05-27 "VirtualSquare" "Linux Programmer's Manual" .SH NAME system_nosh, system_execs \- execute a command with its arguments from a string without using a shell .SH SYNOPSIS .B #include .br .B #include .sp .BI "int system_nosh(const char *" command ");" .br .BI "int system_execsp(const char *" command ");" .sp .BI "int system_execsa(const char *" command ");" .br .BI "int system_execs(const char *" path ", char const *" command ");" .sp .BI "int system_execsrp(const char *" command ", int " redir "[3]);" .sp .BI "int system_execsra(const char *" command ", int " redir "[3]);" .br .BI "int system_execsr(const char *" path ", char const *" command ", int " redir "[3]);" .sp These functions are provided by libexecs. Link with \fI-lexecs\fR. .SH DESCRIPTION \fBsystem_nosh\fR is an almost drop in replacement for \fBsystem\fR(3) provided by the libc. \fBsystem_nosh\fR parses the command string and runs the command directly, without using a shell. (\fBsystem_execsp\fR and \fBsystem_nosh\fR are synonyms). .br Command arguments in \fIargs\fR are delimited by space characters (blank, tabs or new lines). Single or double quotes can be used to delimitate command arguments including spaces and a non quoted backslash (\fB\e\fP) is the escape character to protect the next char. The executable file is sought using the PATH environment variable as explained for \fBexeclp\fR(3). .br \fBsystem_execs\fR requires the path of the executable to be specified as its first parameter so it does not use the PATH environment variable. .br \fBsystem_execsa\fR does not use the PATH variable, argv[0] must be specified as a full pathname. .br \fBsystem_execsrp\fR and \fBsystem_execsr\fR works as their couterparts without the 'r', but they permit the redirection of standard input, output and error streams. Their last parameter is an array of three integers. The standard input of the command will be redirected to \fBredir[0]\fR if it is positive, the standard output to \fBredir[1]\fR if it is not negative and different from 1, the standard error to \fBredir[2]\fR if it is not negative and different from 2. .br \fBsystem_execsra\fR does not use the PATH variable, argv[0] must be specified as a full pathname. .br All these functions can run sequences of commands separated by semicolons (\fB;\fR). The first command returning a non-zero exit status breaks the sequence. .SH RETURN VALUE These functions have the same return values of \fBsystem\fR(3). When running a sequence of commands, it returns the exit status of the first command returning a non-zero value. If the return value is zero it means that all the commands of the sequence succeeded. .SH EXAMPLE The following program shows the usage of \fBsystem_nosh\fR: .BR .sp \& .nf #include #include #include #define BUFLEN 1024 int main(int argc, char *argv) { char buf[BUFLEN]; printf("type in a command and its arguments, e.g. 'ls -l'\\n"); while (fgets(buf, BUFLEN, stdin) != NULL) { printf("Command: '%s' \\n",buf); system_nosh(buf); printf("Command done\\n"); } } .fi .SH SEE ALSO .BR system (3), execs (3), s2argv (3) .SH BUGS Bug reports should be addressed to .SH AUTHOR Renzo Davoli libexecs-1.1/debian/.debhelper/libexecs0/dbgsym-root/usr/lib/debug/.build-id/d2/0000755000175000017500000000000013173400002026544 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-root/usr/lib/debug/.build-id/fb/0000755000175000017500000000000013173400002030355 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs0/dbgsym-root/usr/lib/debug/.build-id/0000755000175000017500000000000013173400002026237 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-root/usr/lib/debug/.build-id/0000755000175000017500000000000013173400002027766 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs0/dbgsym-root/usr/share/doc/0000755000175000017500000000000013173400002024503 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs0/dbgsym-root/usr/lib/debug/0000755000175000017500000000000013173400002024470 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-root/usr/share/doc/0000755000175000017500000000000013173400002026232 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-root/usr/lib/debug/0000755000175000017500000000000013173400002026217 5ustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/man3/0000755000175000017500000000000013173400002021565 5ustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/doc/libexecs-dev/0000755000175000017500000000000013173400002023273 5ustar giuliagiulialibexecs-1.1/debian/libexecs0/usr/share/doc/libexecs0/0000755000175000017500000000000013173400002022103 5ustar giuliagiulialibexecs-1.1/debian/libexecs-embedded0/usr/share/doc/libexecs-embedded0/0000755000175000017500000000000013173400002025361 5ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/man3/0000755000175000017500000000000013173400001020012 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs0/dbgsym-root/usr/share/0000755000175000017500000000000013173400002023736 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs0/dbgsym-root/usr/lib/0000755000175000017500000000000013173400002023402 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-root/usr/share/0000755000175000017500000000000013173400002025465 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-root/usr/lib/0000755000175000017500000000000013173400002025131 5ustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/lib/x86_64-linux-gnu/0000755000175000017500000000000013173400001022501 5ustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/man/0000755000175000017500000000000013173400001020726 5ustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/doc/0000755000175000017500000000000013173400001020720 5ustar giuliagiulialibexecs-1.1/debian/libexecs0/usr/lib/x86_64-linux-gnu/0000755000175000017500000000000013173400002022006 5ustar giuliagiulialibexecs-1.1/debian/libexecs0/usr/share/doc/0000755000175000017500000000000013173400001020224 5ustar giuliagiulialibexecs-1.1/debian/libexecs-embedded0/usr/lib/x86_64-linux-gnu/0000755000175000017500000000000013173400002023535 5ustar giuliagiulialibexecs-1.1/debian/libexecs-embedded0/usr/share/doc/0000755000175000017500000000000013173400001021753 5ustar giuliagiulialibexecs-1.1/debian/tmp/usr/lib/x86_64-linux-gnu/0000755000175000017500000000000013173400001020727 5ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/man/0000755000175000017500000000000013173400001017154 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs0/dbgsym-root/usr/0000755000175000017500000000000013173400002022634 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs0/dbgsym-root/DEBIAN/0000755000175000017500000000000013173400013022747 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-root/usr/0000755000175000017500000000000013173400002024363 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-root/DEBIAN/0000755000175000017500000000000013173400013024476 5ustar giuliagiulialibexecs-1.1/.git/logs/refs/remotes/origin/0000755000175000017500000000000013173400630020165 5ustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/include/0000755000175000017500000000000013173400001020474 5ustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/lib/0000755000175000017500000000000013173400001017617 5ustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/share/0000755000175000017500000000000013173400001020153 5ustar giuliagiulialibexecs-1.1/debian/libexecs0/usr/lib/0000755000175000017500000000000013173400001017123 5ustar giuliagiulialibexecs-1.1/debian/libexecs0/usr/share/0000755000175000017500000000000013173400001017457 5ustar giuliagiulialibexecs-1.1/debian/libexecs-embedded0/usr/lib/0000755000175000017500000000000013173400001020652 5ustar giuliagiulialibexecs-1.1/debian/libexecs-embedded0/usr/share/0000755000175000017500000000000013173400001021206 5ustar giuliagiulialibexecs-1.1/debian/tmp/usr/lib/0000755000175000017500000000000013173400001016045 5ustar giuliagiulialibexecs-1.1/debian/tmp/usr/include/0000755000175000017500000000000013173400001016722 5ustar giuliagiulialibexecs-1.1/debian/tmp/usr/share/0000755000175000017500000000000013173400001016401 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/generated/libexecs-dev/0000755000175000017500000000000013173400001022206 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/generated/libexecs0/0000755000175000017500000000000013173400002021513 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/generated/libexecs-embedded0/0000755000175000017500000000000013173400002023242 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs0/dbgsym-root/0000755000175000017500000000000013173400012022024 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs-embedded0/dbgsym-root/0000755000175000017500000000000013173400012023553 5ustar giuliagiulialibexecs-1.1/.git/refs/remotes/origin/0000755000175000017500000000000013173400630017221 5ustar giuliagiulialibexecs-1.1/.git/logs/refs/remotes/0000755000175000017500000000000013173400630016676 5ustar giuliagiulialibexecs-1.1/.git/logs/refs/heads/0000755000175000017500000000000013173400630016304 5ustar giuliagiulialibexecs-1.1/debian/libexecs-dev/usr/0000755000175000017500000000000013173400001017051 5ustar giuliagiulialibexecs-1.1/debian/libexecs-dev/DEBIAN/0000755000175000017500000000000013173400013017165 5ustar giuliagiulialibexecs-1.1/debian/libexecs0/usr/0000755000175000017500000000000013173400001016355 5ustar giuliagiulialibexecs-1.1/debian/libexecs0/DEBIAN/0000755000175000017500000000000013173400013016471 5ustar giuliagiulialibexecs-1.1/debian/libexecs-embedded0/usr/0000755000175000017500000000000013173400001020104 5ustar giuliagiulialibexecs-1.1/debian/libexecs-embedded0/DEBIAN/0000755000175000017500000000000013173400013020220 5ustar giuliagiulialibexecs-1.1/debian/tmp/usr/0000755000175000017500000000000013173400001015277 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/generated/0000755000175000017500000000000013173400001017634 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs0/0000755000175000017500000000000013173400002017555 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/libexecs-embedded0/0000755000175000017500000000000013173400002021304 5ustar giuliagiulialibexecs-1.1/.git/refs/heads/0000755000175000017500000000000013173400630015340 5ustar giuliagiulialibexecs-1.1/.git/refs/tags/0000755000175000017500000000000013173400623015214 5ustar giuliagiulialibexecs-1.1/.git/refs/remotes/0000755000175000017500000000000013173400630015732 5ustar giuliagiulialibexecs-1.1/.git/objects/pack/0000755000175000017500000000000013173400630015664 5ustar giuliagiulialibexecs-1.1/.git/objects/info/0000755000175000017500000000000013173400623015703 5ustar giuliagiulialibexecs-1.1/.git/logs/refs/0000755000175000017500000000000013173400630015220 5ustar giuliagiulialibexecs-1.1/debian/libexecs-dev/0000755000175000017500000000000013173400012016242 5ustar giuliagiulialibexecs-1.1/debian/libexecs0/0000755000175000017500000000000013173400002015545 5ustar giuliagiulialibexecs-1.1/debian/libexecs-embedded0/0000755000175000017500000000000013173400002017274 5ustar giuliagiulialibexecs-1.1/debian/tmp/0000755000175000017500000000000013173400001014466 5ustar giuliagiulialibexecs-1.1/debian/source/0000755000175000017500000000000013061541064015201 5ustar giuliagiulialibexecs-1.1/debian/.debhelper/0000755000175000017500000000000013173400002015677 5ustar giuliagiulialibexecs-1.1/.git/info/0000755000175000017500000000000013173400623014252 5ustar giuliagiulialibexecs-1.1/.git/hooks/0000755000175000017500000000000013173400623014442 5ustar giuliagiulialibexecs-1.1/.git/branches/0000755000175000017500000000000013173400623015104 5ustar giuliagiulialibexecs-1.1/.git/refs/0000755000175000017500000000000013173400630014254 5ustar giuliagiulialibexecs-1.1/.git/objects/0000755000175000017500000000000013173400623014750 5ustar giuliagiulialibexecs-1.1/.git/logs/0000755000175000017500000000000013173400630014261 5ustar giuliagiulialibexecs-1.1/debian/0000755000175000017500000000000013173400013013671 5ustar giuliagiulialibexecs-1.1/.git/0000755000175000017500000000000013173400630013315 5ustar giuliagiulialibexecs-1.1/0000755000175000017500000000000013173400660012457 5ustar giuliagiulia