3667 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
297657a66d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 13:20:20 +00:00
Love Hörnquist Åstrand
53624218c7 use strlcpy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 13:15:15 +00:00
Love Hörnquist Åstrand
565249d9f8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 13:09:41 +00:00
Love Hörnquist Åstrand
819578daa1 handle string trunctions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 13:09:26 +00:00
Love Hörnquist Åstrand
ba2e5afedd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 10:17:02 +00:00
Love Hörnquist Åstrand
afa0363687 use snprintf to format tkfile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-25 10:16:47 +00:00
Love Hörnquist Åstrand
99402741d7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 21:00:21 +00:00
Love Hörnquist Åstrand
5ff49eff33 remove another strcpy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 20:59:35 +00:00
Love Hörnquist Åstrand
75a77c6e79 make compile again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 20:28:59 +00:00
Love Hörnquist Åstrand
250432e84a use strlcat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 20:25:05 +00:00
Love Hörnquist Åstrand
57c22f0d8e use strlcpy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 20:23:00 +00:00
Love Hörnquist Åstrand
1a0bf9981f forward declaration for private structures
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 20:21:39 +00:00
Love Hörnquist Åstrand
0be6a3d662 use strlcat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 20:14:10 +00:00
Love Hörnquist Åstrand
8f5b48e13c declear yyparse as a function taking no arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:58:14 +00:00
Love Hörnquist Åstrand
d6b87a47d9 use strlcpy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 19:54:58 +00:00
Johan Danielsson
f7eeefa44c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-22 15:49:35 +00:00
Johan Danielsson
17ae619b5f document limits.conf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-22 15:49:25 +00:00
Johan Danielsson
8aa7690bba limits_conf.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-22 15:39:14 +00:00
Johan Danielsson
23b676e935 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-22 15:38:59 +00:00
Johan Danielsson
6014f67834 template for limits.conf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-22 15:38:54 +00:00
Johan Danielsson
4d41fe5c72 read limits.conf (from /etc/security by default, overridable in
login.conf)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-22 15:38:33 +00:00
Johan Danielsson
0e8da6be57 implement a parser for limits.conf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-22 15:37:22 +00:00
Love Hörnquist Åstrand
bc376e76ef x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-21 19:13:12 +00:00
Love Hörnquist Åstrand
2afd98c6d6 rename log10 to find_log10, because log10 in a builtin function on FreeBSD5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-21 18:52:28 +00:00
Love Hörnquist Åstrand
ed16400376 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:39:45 +00:00
Love Hörnquist Åstrand
a4cd8b41d9 cast size_t to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:39:33 +00:00
Love Hörnquist Åstrand
9dd2289f90 cast ssize_t to unsigned long, fix printf format
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:38:37 +00:00
Love Hörnquist Åstrand
94ad9d0c80 cast size_t to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:34:12 +00:00
Love Hörnquist Åstrand
e2ad54e734 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14851 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 18:01:15 +00:00
Love Hörnquist Åstrand
e19f9f0e6c catch when snprint needs a larger buffer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14850 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 18:00:17 +00:00
Love Hörnquist Åstrand
c48cc3386e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 13:36:48 +00:00
Love Hörnquist Åstrand
0ffd30a6e4 rewrite getpty to make use openpty when its found, save the slave fd
so that cleanopen can use it if its available


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 13:36:20 +00:00
Love Hörnquist Åstrand
7adcb73bb8 include krb5.h to avoid krb5_getportbyname warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 10:33:18 +00:00
Love Hörnquist Åstrand
46a77c28e4 pagsh is in section 1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 10:20:31 +00:00
Love Hörnquist Åstrand
2cc85f5d17 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:54:00 +00:00
Love Hörnquist Åstrand
5c338794d7 use unsigned char * to make sure its not negative when passing it to
is* functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:52:58 +00:00
Love Hörnquist Åstrand
542f17be74 (statcmd): cast argument to isdigit to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:48:33 +00:00
Love Hörnquist Åstrand
bb46111aad (mget): cast char to unsigned char to make sure its not negative when
passing it to tolower


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:45:12 +00:00
Love Hörnquist Åstrand
99c49b8e69 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 13:12:47 +00:00
Love Hörnquist Åstrand
3aa848647e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 19:22:19 +00:00
Love Hörnquist Åstrand
3ee2d21177 ignore login_protos.h, its a built file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 16:33:08 +00:00
Love Hörnquist Åstrand
d0cc9002ed print out client principla of delegated credential
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 14:47:41 +00:00
Love Hörnquist Åstrand
96e25e02a1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 19:33:50 +00:00
Love Hörnquist Åstrand
50d9ed5566 clean_ttyname might be unused, mark it so with __attribute__
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 19:33:29 +00:00
Love Hörnquist Åstrand
e74cf57105 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 18:57:54 +00:00
Love Hörnquist Åstrand
b2320af622 fix 3 'var' might be used uninitialized warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 18:57:29 +00:00
Love Hörnquist Åstrand
c41860a8ee use NULL as last argument to execl, not 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-06 11:23:54 +00:00
Love Hörnquist Åstrand
2697d2a0f3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-06 11:23:17 +00:00
Love Hörnquist Åstrand
b88827c01d use NULL as last argument to execl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-06 11:20:32 +00:00
Love Hörnquist Åstrand
a9cb9acffa MacOS is also a unix that doesn't define __unix__/unix
While here, rewrite this part of the function to not modify that
string, but rather take a copy of it and them modify is, all this just
to pacify gcc


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 18:16:00 +00:00