[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#675080: openssh: Possible switch to libbsd?



Source: openssh
Source-Version: 1:6.0p1-1
Severity: wishlist

Hi!

OpenSSH contains an embedded BSD compat layer under openbsd-compat/,
most of the stuff used by OpenSSH on GNU systems is now provided by
libbsd (I've been adding stuff after checking users like OpenSSH).

Before starting to work on a patch, which should mostly involve the
build system, I was wondering if you'd be interested in it, given
possible security implications? Regarding new dependencies, I don't
think that'd be a problem as openssh-client uses libedit which in
turn uses libbsd already.

After a quick look on the latest version I can see that at least the
following could be switched over to libbsd:

  bsd-arc4random.c bsd-closefrom.c bsd-getpeereid.c readpassphrase.c
  strlcat.c strlcpy.c getopt.c vis.c strmode.c strtonum.c sys-queue.h
  sys-tree.h

And I'm always interested in adding new BSD compat stuff to libbsd,
in case it's missing there.

thanks,
guillem



Reply to: