Displaying 20 results from an estimated 11000 matches similar to: "[Bug 539] open() requires 3 arguments when using O_CREAT"
2014 May 22
0
[PATCH] openssh - loginrec.c - Non-atomic file operations.
Hi all.
I rewrited lastlog_openseek function. Now is little more atomic when
file operations on lastlog file happens.
For more details why separate stat and open isn't so safe please take a
look at: http://www.akkadia.org/drepper/defprogramming.pdf
Have nice day
Robin Hack
-------------- next part --------------
diff --git a/loginrec.c b/loginrec.c
index 4219b9a..281d650 100644
---
2003 Feb 11
0
[Bug 492] New: Spurious error message from loginrec when attempting to login in with the highest uid for the first time.
http://bugzilla.mindrot.org/show_bug.cgi?id=492
Summary: Spurious error message from loginrec when attempting to
login in with the highest uid for the first time.
Product: Portable OpenSSH
Version: 3.5p1
Platform: ix86
OS/Version: BSDI
Status: NEW
Severity: trivial
Priority: P2
2002 Feb 12
0
[Bug 110] New: bogus error messages in lastlog_get_entry()
http://bugzilla.mindrot.org/show_bug.cgi?id=110
Summary: bogus error messages in lastlog_get_entry()
Product: Portable OpenSSH
Version: -current
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy:
2000 Aug 01
2
[2.1.1p4] utmp patch for SunOS 4.1.x
Follow-on to Charles Levert's <charles at comm.polymtl.ca> work on
utmp_write_direct.
Fixed:
-- At logout, the utmp entry is cleared. Tested on SunOS 4.1.4.
The code I added to loginrec.c is restricted to SUNOS4 pending
QA testing on other platforms.
This patch incorporates the work done by Charles Levert on
7/25/2000 00:43:22. (Do any of us sleep at
2000 Jul 26
2
[2.1.1p4] utmp related patches plus unresolved bugs description
Fixed:
-- On systems such as SunOS4 where the system include files
are no help in locating the utmp file (et al.), configure
can define their location in CONF_*, but defines.h never used
these.
-- Might as well put in the usual location for SunOS4.
-- In loginrec.c (utmp_write_direct), writing to the utmp file
was not done correctly.
Remaining:
-- At logout, the utmp entry cannot be
2000 Aug 03
1
lastlog_get_entry error on IRIX
Precedence: bulk
Hi,
I'm getting the error:
sshd[71835]: lastlog_get_entry: Error reading from /var/adm/lastlog: Error 0
from openssh 2.1.1p4 on IRIX (6.5.8m). Looks like there's some confusion
about /var/adm/lastlog being a directory and not a file on IRIX.
./configure says:
checking for lastlog... no
checking if your system defines LASTLOG_FILE... no
but I still gets the error
2010 Sep 13
5
[Bug 1817] New: lastlog is not recorded with the big uid
https://bugzilla.mindrot.org/show_bug.cgi?id=1817
Summary: lastlog is not recorded with the big uid
Product: Portable OpenSSH
Version: 5.6p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy:
2000 Jul 03
0
FreeBSD 3.5-STABLE
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c loginrec.c
loginrec.c: In function `construct_utmp':
loginrec.c:619: structure has no member named `ut_user'
loginrec.c:619: structure has no member named `ut_user'
2003 Nov 23
1
[PATCH] dd O_CREAT permission
O_CREAT requires a mode argument for open()
This patch passes the current umask of the dd process.
--- usr/klibc/klibc-0.81.orig/utils/dd.c 2002-09-03 00:49:08.000000000 +0200
+++ usr/klibc/klibc-0.81/utils/dd.c 2003-11-23 18:04:11.000000000 +0100
@@ -8,6 +8,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/types.h>
+#include
2000 Sep 12
0
OpenSSH 2.2.0p1 port to QNX 4
Dear OpenSSH porting developers,
finally I succeded in porting OpenSSH to QNX 4.
To get things going I had to take over some definitions from Linux'
include files, since they are not available under QNX (e.g. the howmany
makro, NFDBITS, the lastlog structure). With this email I send a patch
with all my changes as well as the file "qnx-term.h" which I created
because IXANY and
2011 Sep 02
1
problems building openssh-5.8p1 on qnx
I am having trouble figuring out how to build openssh-5.8p1 for QNX 6.5. I am trying to build on linux, cross-compiling for armv7.
If I configure like this:
configure CC=ntoarmv7-gcc --host=i686-pc-linux-gnu --target=arm-unknown-nto-qnx6.5.0
then I get these errors:
sshconnect.o: In function `timeout_connect':
sshconnect.c:(.text+0x778): undefined reference to
2009 Apr 06
3
The Rosetta Stone : Installer doesn't work
Hello,
I'm trying to install The Rosetta Stone v2.08 (language learning software) on a Debian Squeeze (w/ linux 2.6.28-2~snapshot.12850 for my wireless card) using wine 1.1.18.
Running the autorun.exe (with ALSA as audio driver in winecfg) starts on working well, asking me what language the install should be in, and then allowing me to click on "Run installer". At that point,
2003 Sep 05
2
3.6p1 bug on SCO OpenServer
SCO OpenServer 5.0.x
Openssh 3.6p1
loginrec.c writes incorrect data into the ut_id field of the utmp file.
This has been an issue since at least openssh 3.0.2 but I never bothered
to report it. For Openssh 3.6p1, defining WITH_ABBREV_NO_TTY corrects
the problem. Below is a brief patch to configure which does this. You
can observe the errant results in the "Line" column from the
2007 Nov 21
1
Problem installing Asterisk
I have installed Asterisk with FreeTDS many times before (this same Asterisk
and same TDS version)... but today when I did the make it gave me this
error:
ake[1]: Entering directory `/home/matth/asterisk126/asterisk-1.2.6/cdr'
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE -O6 -march=i686
2003 Apr 02
0
[Bug 532] Conflicting basename and dirname on solaris
http://bugzilla.mindrot.org/show_bug.cgi?id=532
Summary: Conflicting basename and dirname on solaris
Product: Portable OpenSSH
Version: 3.6p1
Platform: UltraSparc
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-unix-dev at mindrot.org
2012 Aug 16
9
[Bug 2034] New: make fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2034
Priority: P5
Bug ID: 2034
Assignee: unassigned-bugs at mindrot.org
Summary: make fails
Severity: critical
Classification: Unclassified
OS: FreeBSD
Reporter: kris.universe at gmail.com
Hardware: amd64
Status: NEW
Version: 6.0p1
2017 Jan 30
2
No subject
Hi,
I am trying to give access to sshd port 22 to connect to different port
1023 by differentiating with special user, customuser. Following is how i
tried, but it doesnt work, please suggest.
outside, user issues command
ssh customuser at ip, it fails
inside sshd_config, i wrote the following:
Match user customuser
ForceCommand . /etc/myscript
inside myscript, I do the following:
read
2000 Aug 09
3
Problems compiling openssh-2.1.1p2 on FreeBSD 4.0-RELEASE
Hello,
I have just installed a fresh copy of FreeBSD 4.0-RELEASE on a P75,
and want to compile openssh-2.1.1p2, but the compile fails with:
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c loginrec.c
loginrec.c: In function
2014 Feb 24
1
loginrec.c: bug in construct_utmpx() definition?
Hello,
I am trying to cross compile OpenSSH_5.8p2 on linux for a powerpc target with uClibc available. My problem is that I get a error when loginrec.c is compiled:
openssh/loginrec.c: In function 'construct_utmpx':
openssh/loginrec.c:790:10: error: 'ut' undeclared (first use in this function)
openssh/loginrec.c:790:10: note: each undeclared identifier is reported only once for
2000 Dec 27
2
implicit declaration warnings
Hi,
When I tested the latest snapshot on FreeBSD 4.2, I noticed some implicit
declaration warnings I didn't recall seeing on Linux.
I think this is caused by the fact that if autoconf does detect the
presence of some BSD capability, necessary header files and declarations
may not be included (as these are assumed to be the same ~everywhere, and
already included). If such capability is