cpython: bbd92b42508e (original) (raw)

Mercurial > cpython

changeset 73036:bbd92b42508e

Issue #9168: now smtpd is able to bind privileged port. [#9168]

Florent Xicluna florent.xicluna@gmail.com
date Thu, 20 Oct 2011 23:14:36 +0200
parents 99c8b93c57cd(current diff)7d92b94b0eec(diff)
children c1effa2cdd20
files Lib/smtpd.py Misc/NEWS
diffstat 2 files changed, 12 insertions(+), 10 deletions(-)[+] [-] Lib/smtpd.py 20 Misc/NEWS 2

line wrap: on

line diff

--- a/Lib/smtpd.py +++ b/Lib/smtpd.py @@ -678,6 +678,16 @@ def parseargs(): if name == 'main': options = parseargs() # Become nobody

@@ -691,16 +701,6 @@ if name == 'main': if e.errno != errno.EPERM: raise print('Cannot setuid "nobody"; try running with -n option.', file=sys.stderr) sys.exit(1)

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -322,6 +322,8 @@ Core and Builtins Library ------- +- Issue #9168: now smtpd is able to bind privileged port. +