#
272461 |
|
02-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
228586 |
|
16-Dec-2011 |
dim |
In libexec/pppoed/pppoed.c, use the correct printf length modifier for a size_t.
MFC after: 1 week
|
#
171195 |
|
03-Jul-2007 |
scf |
Significantly reduce the memory leak as noted in BUGS section for setenv(3) by tracking the size of the memory allocated instead of using strlen() on the current value.
Convert all calls to POSIX from historic BSD API: - unsetenv returns an int. - putenv takes a char * instead of const char *. - putenv no longer makes a copy of the input string. - errno is set appropriately for POSIX. Exceptions involve bad environ variable and internal initialization code. These both set errno to EFAULT.
Several patches to base utilities to handle the POSIX changes from Andrey Chernov's previous commit. A few I re-wrote to use setenv() instead of putenv().
New regression module for tools/regression/environ to test these functions. It also can be used to test the performance.
Bump __FreeBSD_version to 700050 due to API change.
PR: kern/99826 Approved by: wes Approved by: re (kensmith)
|
#
169177 |
|
01-May-2007 |
ache |
Back out all POSIXified *env() changes.
Not because I admit they are technically wrong and not because of bug reports (I receive nothing). But because I surprisingly meets so strong opposition and resistance so lost any desire to continue that.
Anyone who interested in POSIX can dig out what changes and how through cvs diffs.
|
#
169121 |
|
30-Apr-2007 |
ache |
Prepare for upcoming POSIXed putenv() rewrite: don't allow putenv() arg be on the stack, replace putenv() with setenv()
|
#
141589 |
|
09-Feb-2005 |
ru |
Sync program's usage() with manpage's SYNOPSIS.
|
#
122758 |
|
15-Nov-2003 |
harti |
Replace all uses of the old netgraph constants NG_*LEN by the new constants NG_*SIZ that include the trailing NUL byte. This change is mostly mechanical except for the replacement of a couple of snprintf() and sprintf() calls with strlcpy.
|
#
96580 |
|
14-May-2002 |
brian |
Understand the new NGM_PPPOE_SESSIONID message and set SESSIONID in the environment to it's value.
Approved by: archie (after a very cursory glance)
|
#
95258 |
|
22-Apr-2002 |
des |
Usage style sweep: spell "usage" with a small 'u'. Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/.
|
#
90975 |
|
20-Feb-2002 |
brian |
Handle NGM_PPPOE_ACNAME messages.
Submitted by: Andre Albsmeier <andre@albsmeier.net> Approved by: julian
|
#
90779 |
|
17-Feb-2002 |
imp |
o __P removal o use Ansi-style function definitions
|
#
90160 |
|
03-Feb-2002 |
kris |
Prototype a function as __printflike() to avoid a FORMAT_AUDIT warning.
MFC after: 1 week
|
#
86762 |
|
22-Nov-2001 |
brian |
Don't leave dodgy looking spaces in HISMACADDR
|
#
86705 |
|
21-Nov-2001 |
brian |
Set HISMACADDR in the environment before envoking ppp.
MFC after: 1 week
|
#
82333 |
|
25-Aug-2001 |
brian |
Put a parenthesis in the right place (DUH!). This fixes the apparent immediate client timeout problem.
|
#
82276 |
|
24-Aug-2001 |
brian |
Understand that a return value of 0 from NgRecvMsg() means that the socket was closed.
This prevents erroneous ``Unexpected netgraph version'' from turning up in the log.
|
#
80733 |
|
31-Jul-2001 |
brian |
Don't use SA_RESETHAND here. We gain nothing.
Suggested by: bde
|
#
80728 |
|
31-Jul-2001 |
brian |
Add a -l flag used to specify a label when no -p flag is given. Start new sentences on new lines in pppoed.8.
MFC after: 1 week
|
#
80724 |
|
31-Jul-2001 |
brian |
Use sigaction() without SA_RESTART rather than signal() so that we don't block in NgRecvData() after receiving a signal.
MFC after: 1 week
|
#
79597 |
|
11-Jul-2001 |
brian |
Remove an extraneous space
|
#
79452 |
|
09-Jul-2001 |
brian |
Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
#
69948 |
|
12-Dec-2000 |
julian |
Add support for advertising the service we support if the PADI packet contains a NULL service. This is apparently the desired behaviour in this case, though we only allow advertising one service. You could run multiple pppoeds to advertise multiple services.
|
#
69582 |
|
04-Dec-2000 |
brian |
Drop out of our main loop due to a signal rather than handling things in the signal handler. Fix a spelling error.
Subtley pointed out by: bde
Make some stuff static
|
#
68905 |
|
19-Nov-2000 |
kris |
Format string paranoia
|
#
68846 |
|
16-Nov-2000 |
brian |
Go back to populating data_len in struct ngpppoe_init_data.
|
#
68032 |
|
31-Oct-2000 |
brian |
Use the new-style ngpppoe_init_data structure.
Approved by: archie
|
#
66602 |
|
03-Oct-2000 |
brian |
o Load netgraph.ko, ng_ether.ko and ng_pppoe.ko as required (I'm sure this used not to be necessary). o Allow ``-n ngdebug'' to specify something to pass to NgSetDebug() and redirect NgSetDebug() output to syslog(8) in daemon() mode. o Xref ng_ether(8) and NgSetDebug(4). o Correct the type of the response passed to NgRecvData.
|
#
53609 |
|
22-Nov-1999 |
brian |
Add a ``-P pidfile'' option
|
#
53537 |
|
21-Nov-1999 |
brian |
pppoed(8) - a server to accept PPPoE connections
|