Displaying 20 results from an estimated 73 matches for "_res".
Did you mean:
__res
2007 Mar 12
1
Redefinition of _res in getrrsetbyname.c
...em to use SSHFP
fingerprints delivered via DNSSEC, which led me to try to figure out why
OpenSSH won't use DNSSEC on my NetBSD-4-branch platform.
It turns out that around line 70 in openbsd-compat/getrrsetbyname.c, we
have the following:
/* to avoid conflicts where a platform already has _res */
#ifdef _res
# undef _res
#endif
#define _res _compat_res
struct __res_state _res;
This defines a global, _compat_res, used only by OpenSSH (at least on
NetBSD), and makes _res be that instead of the "real" _res (however that
might be defined on various pla...
2007 Mar 16
2
[Bug 1299] Remove redefinition of _res in getrrsetbyname.c
http://bugzilla.mindrot.org/show_bug.cgi?id=1299
Summary: Remove redefinition of _res in getrrsetbyname.c
Product: Portable OpenSSH
Version: 4.5p1
Platform: All
OS/Version: NetBSD
Status: NEW
Keywords: patch
Severity: major
Priority: P2
Component: ssh
AssignedTo: bitbucket at mindrot.o...
2006 Apr 21
3
OpenSSH DNS resolution failure on IRIX 5.3: request to fix
...change:
revision 1.3954
date: 2005/11/05 05:56:52; author: djm; state: Exp; lines: +4 -1
- (djm) [openbsd-compat/getrrsetbyname.c] Sync to latest OpenBSD
version,
resolving memory leak bz#1111 reported by kremenek AT
cs.stanford.edu;
ok dtucker@
When I take out the line
struct __res_state _res;
things work. Also, the problem does not occur when compiling with gcc
(I used 3.4.4) instead of the SGI IDO cc.
I am not familiar enough with the implementation of the DNS
resolution libraries to really judge what is going on. It looks like
the global variable _res in openbsd-co...
2014 Jul 25
11
[Bug 2259] New: Checking for external _res fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2259
Bug ID: 2259
Summary: Checking for external _res fails
Product: Portable OpenSSH
Version: 6.6p1
Hardware: Other
OS: Other
Status: NEW
Severity: minor
Priority: P5
Component: Build system
Assignee: unassigned-bugs at mindrot.org
Reporter: s...
2007 Dec 20
2
SHLIB steps on a Makefile
...s to fiddle
slightly with the compilation process. My Makefile works fine in Linux
but I am having trouble creating Makefile.win for MinGW. I first
looked at the commands that Rcmd SHLIB appeared to be running and
copied those onto the Makefile. But one step seems to be missing, the
creation of the _res.rc file needed by windres
g++-sjlj -I$(RHOME)/include -I../inst/include/ -O2 -Wall -c pkg.cpp -o pkg.o
windres --preprocessor="gcc-sjlj -E -xc -DRC_INVOKED"
-I$(RHOME)/include -I../inst/include -i pkg_res.rc -o pkg_res.o
g++-sjlj -shared -s -o pkg.dll pkg.def pkg.o FL pkg_res.o -L$(RH...
2007 Apr 29
0
[Bug 1299] Remove redefinition of _res in getrrsetbyname.c
http://bugzilla.mindrot.org/show_bug.cgi?id=1299
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Comment #3 from dtucker at zip.com.au 2007-04-29 14:06
2014 Jul 11
0
OpenSSH 6.6p1 configure script error
In the configure script, when it checks to see if _res is an extern, there are two problems:
1. There is no ac_WHATEVER variable to control it and override it.
2. Because the extern reference to _res is unused, the linker on some systems may elide it, causing an erroneous definition of HAS__RES_EXTERN
The test should be coded as follows:
/* ... co...
2017 Sep 04
0
NHW Project - fast discrete wavelet transform
Hello,
I forgot in my last reply that my DWT implementation can be speed up, for
example I'm doing for now:
for (;_X1<_E_;_X1++,_RES+=2) //dilatation
{
_RES[0]=_X1[0]<<3;
_RES[1]=(_X1[1]+_X1[0])<<2;
}
then
for (;_X2<_E_;_X2++,_RES+=2) //details
{
_RES[0]-=(_X2[1]+_X2[0])<<1;
_RES[1]+=6*_X2[1]-_X2[2]-_X2[0];
}
whereas I can do in one faster step:...
1997 Apr 22
1
SNI-12: BIND Vulnerabilities and Solutions (fwd)
...~~~~~
--- CUT HERE ---
diff -cNr ../bind-4.9.5-P1-rel/contrib/host/host.c ./contrib/host/host.c
*** ../bind-4.9.5-P1-rel/contrib/host/host.c Sat Oct 12 16:24:42 1996
- --- ./contrib/host/host.c Wed Apr 9 15:27:05 1997
***************
*** 537,543 ****
_res.retrans = DEF_RETRANS; /* timeout in secs between retries */
/* initialize packet id */
! _res.id = getpid() & 0x7fff;
/* save new defaults */
new_res = _res;
- --- 537,543 ----
_res.retrans = DEF_RETRANS; /* timeout in secs between retries */...
2008 Feb 13
1
R CMD SHLIB help
.../R/src/gnuwin32/MkRules:255: warning: overriding commands for target
`.c.o'
C:/R/src/gnuwin32/MkRules:243: warning: ignoring old commands for target
`.c.o'
On another Windows computer (without Cygwin, but has Rtools), I tried
the same. I get the error:
c:\R\Rtools\MinGW\bin\windres.exe: _res.rc:8: syntax error
make: *** [_res.o] Error 1
Additionally, there was an error that says "gcc-sjlj" is not found. Is
this supposed to be "gcc -sjlj"? As a temporary solution I made a copy
of gcc.exe called gcc-sjlj.exe -- I don't know whether this will cause
other proble...
2011 Aug 08
0
configure bug for HAVE_RES_EXTERN check
The code used in configure.ac to check for struct __res_state _res is an extern, can fail. I'm porting the code to UWIN, (Unix on Windows, available at http://www2.research.att.com/~gsf/download) using Microsoft Visual Studio for the cc compiler. The code in lines 3483 - 3491 should include a reference to _res, to verify the compiler doesn't ign...
2005 Sep 28
3
gfortran Makefile for windows
Hi all,
(Originally posted to r-help)
I'm porting a package that I've worked on for OS X to Windows.
The package is written in F95 so I need to compile it with gfortran
and link it with gcc4.
I've been trying to build an R with gcc4 without luck so far. If there is
a binary of such a thing info would be appreciated.
This package requires a Makefile. My question is, how can I find
2016 Jan 05
3
Authentication to Secondary Domain Controller initially fails when PDC is offline
...name
> > server. Measured in seconds, the default is
> > RES_TIMEOUT (currently 5, see <resolv.h>). The value for this option
> > is silently capped to 30.
> >
> > edns0 (since glibc 2.6)
> > sets RES_USE_EDNSO in _res.options. This enables
> > support for the DNS extensions described in RFC 2671.
> >
> > From what I researched, this is the intended behavior on a Microsoft
> > Server. Again I can disable my "PDC" and log in from a windows
> > workstation just fine. It appe...
2008 Jan 23
4
[wishlist, patch] Removing .bzr/ directory when calling R CMD build (PR#10625)
...amp; /^\.arch-ids$/);
print EXCLUDE "$File::Find::name\n" if(-d $_ && /^\.git$/);
+ print EXCLUDE "$File::Find::name\n" if(-d $_ && /^\.bzr$/);
## Windows DLL resource file
push(@exclude_patterns, "^src/" . $pkgname . "_res\\.rc");
my $filename = $File::Find::name;
2007 Jun 03
2
Problems compiling RMySQL
...RA~1/MySQL/MYSQLS~1.0/include
-Ic:/PROGRA~1/R/R-24~1.1/include -W
all -O2 -std=gnu99 -c RS-DBI.c -o RS-DBI.o
gcc -Ic:/PROGRA~1/MySQL/MYSQLS~1.0/include
-Ic:/PROGRA~1/R/R-24~1.1/include -W
all -O2 -std=gnu99 -c RS-MySQL.c -o RS-MySQL.o
windres --include-dir c:/PROGRA~1/R/R-24~1.1/include -i
RMySQL_res.rc -o RMySQL
_res.o
gcc -shared -s -o RMySQL.dll RMySQL.def RS-DBI.o
RS-MySQL.o RMySQL_res.o -Lc:
/PROGRA~1/R/R-24~1.1/bin
-Lc:/PROGRA~1/MySQL/MYSQLS~1.0/lib/opt -lmysql -liberty
-lR
... DLL made
installing DLL
installing R files
installing inst files
FIND: Parameter format not co...
2016 Jan 05
1
Authentication to Secondary Domain Controller initially fails when PDC is offline
...y
> via a different name
> server. Measured in seconds, the default is
> RES_TIMEOUT (currently 5, see <resolv.h>). The value for this option
> is silently capped to 30.
>
> edns0 (since glibc 2.6)
> sets RES_USE_EDNSO in _res.options. This enables
> support for the DNS extensions described in RFC 2671.
>
> From what I researched, this is the intended behavior on a Microsoft
> Server. Again I can disable my "PDC" and log in from a windows
> workstation just fine. It appears for some users aft...
2018 Feb 16
0
[RFC PATCH v3 2/3] virtio_net: Extend virtio to use VF datapath when available
...q -= dev->real_num_tx_queues;
+ } while (txq >= dev->real_num_tx_queues);
+ }
+
+ return txq;
+}
+
+/* fold stats, assuming all rtnl_link_stats64 fields are u64, but
+ * that some drivers can provide 32bit values only.
+ */
+static void
+virtnet_bypass_fold_stats(struct rtnl_link_stats64 *_res,
+ const struct rtnl_link_stats64 *_new,
+ const struct rtnl_link_stats64 *_old)
+{
+ const u64 *new = (const u64 *)_new;
+ const u64 *old = (const u64 *)_old;
+ u64 *res = (u64 *)_res;
+ int i;
+
+ for (i = 0; i < sizeof(*_res) / sizeof(u64); i++) {
+ u64 nv = new[i];
+ u64 ov = old[i...
2018 Apr 05
0
[RFC PATCH net-next v5 3/4] virtio_net: Extend virtio to use VF datapath when available
...xq -= dev->real_num_tx_queues;
+ } while (txq >= dev->real_num_tx_queues);
+ }
+
+ return txq;
+}
+
+/* fold stats, assuming all rtnl_link_stats64 fields are u64, but
+ * that some drivers can provide 32bit values only.
+ */
+static void virtnet_bypass_fold_stats(struct rtnl_link_stats64 *_res,
+ const struct rtnl_link_stats64 *_new,
+ const struct rtnl_link_stats64 *_old)
+{
+ const u64 *new = (const u64 *)_new;
+ const u64 *old = (const u64 *)_old;
+ u64 *res = (u64 *)_res;
+ int i;
+
+ for (i = 0; i < sizeof(*_res) / sizeof(u64); i++) {
+ u64 nv = new[i];
+ u64...
2002 Jun 26
1
privilege separation breaks dns lookups
When the unprivileged child has chrooted it can no longer open
/etc/resolv.conf, so if the resolver hasn't yet initialized itself then
dns lookups will not be possible. This is unfortunately what normally
happens, but sshd falls back gracefully.
There are a couple of wrinkles: the resolver will typically try talking
to a nameserver on the local host by default (using INADDR_ANY rather
than
2009 Aug 27
0
Universal Services Fund taxes now apply to VoIP end-users.
From:
http://www.usac.org/_res/documents/hc/pdf/training-2009/USAC-USF-overview.pdf
-The FCC now requires all VoIP telecom providers terminating and originating
to the PSTN to charge Universal Services Fund tax to end user customers.
-USF is 8.4% of revenue for VoIP Telco's.
-Last year USAC collected and dispersed seven BI...