Displaying 20 results from an estimated 355 matches for "dent".
Did you mean:
bent
2016 Aug 01
1
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
...> + }
[snip]
> > > + struct virtio_pstore_fileinfo info;
> > > + size_t offset = sizeof(*res) + sizeof(info);
> > > +
> > > + if (s->dirp == NULL) {
> > > + return -1;
> > > + }
> > > +
> > > + dent = readdir(s->dirp);
> > > + while (dent) {
> > > + if (dent->d_name[0] != '.') {
> > > + break;
> > > + }
> > > + dent = readdir(s->dirp);
> > > + }
> > > +
> > > + if (...
2016 Aug 01
1
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
...> + }
[snip]
> > > + struct virtio_pstore_fileinfo info;
> > > + size_t offset = sizeof(*res) + sizeof(info);
> > > +
> > > + if (s->dirp == NULL) {
> > > + return -1;
> > > + }
> > > +
> > > + dent = readdir(s->dirp);
> > > + while (dent) {
> > > + if (dent->d_name[0] != '.') {
> > > + break;
> > > + }
> > > + dent = readdir(s->dirp);
> > > + }
> > > +
> > > + if (...
2006 Oct 05
0
[Bug 521] New: [patch] - some changes to runme script
...ignored by POM.
--- ../patch-o-matic-ng-trunk/Netfilter_POM.pm 2006-10-03 08:21:19.000000000 -0700
+++ Netfilter_POM.pm 2006-10-03 10:58:03.000000000 -0700
@@ -361,7 +361,7 @@
opendir(DIR, $dir)
or croak "can't open directory $dir: $!";
# Don't miss .foo-test files!
- my @dents = sort grep {!/^(\.\.?|CVS|\.svn)$/} readdir(DIR);
+ my @dents = sort grep {!/^(\.\.?|CVS|\.svn|#?.*~)$/} readdir(DIR);
closedir(DIR);
foreach my $dent (@dents) {
my $fullpath = "$dir/$dent";
@@ -486,7 +486,7 @@
# get list of source files that we'd need to copy
opendir(PDI...
2023 Jan 13
0
[klibc:master] ls: Handle relative directory names correctly
Commit-ID: 3d63cd68496a1c8aeccbdac6488bc1f002700bc8
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=3d63cd68496a1c8aeccbdac6488bc1f002700bc8
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 31 Dec 2022 16:00:28 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 31 Dec 2022 16:04:19 +0100
[klibc] ls: Handle relative directory names correctly
ls currently starts to list a directory with chdir(path) and
opendir(path). This obvio...
2016 Jul 28
2
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
...unsigned int in_num,
> + struct virtio_pstore_res *res)
> +{
> + char path[PATH_MAX];
Don't declare PATH_MAX sized variables
> + int fd;
> + ssize_t len;
> + struct stat stbuf;
> + struct dirent *dent;
> + int sg_num = in_num;
> + struct iovec sg[sg_num];
'sg_num' is initialized from 'in_num' which comes from the
guest, and I'm not seeing anything which is bounds-checking
the 'in_num' value. So you've possibly got a security flaw here
I think, if the...
2016 Jul 28
2
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
...unsigned int in_num,
> + struct virtio_pstore_res *res)
> +{
> + char path[PATH_MAX];
Don't declare PATH_MAX sized variables
> + int fd;
> + ssize_t len;
> + struct stat stbuf;
> + struct dirent *dent;
> + int sg_num = in_num;
> + struct iovec sg[sg_num];
'sg_num' is initialized from 'in_num' which comes from the
guest, and I'm not seeing anything which is bounds-checking
the 'in_num' value. So you've possibly got a security flaw here
I think, if the...
2009 Jan 09
5
grep : escape "*"
...;4-4"))
Erreur dans grep("*", c("/3", "2*3", "4-4")) :
expression régulière incorrecte '*'
De plus : Warning message:
In grep("*", c("/3", "2*3", "4-4")) :
erreur rgcomp : 'Expression régulière précédente incorrecte'
> grep("\*", c("/3", "2*3", "4-4"))
Erreur dans grep("*", c("/3", "2*3", "4-4")) :
expression régulière incorrecte '*'
De plus : Warning messages:
1: '\*' est un code escape non rec...
2016 Jul 30
0
[Qemu-devel] [PATCH 6/7] qemu: Implement virtio-pstore device
...virtio_pstore_res *res)
> > +{
> > + char path[PATH_MAX];
>
> Don't declare PATH_MAX sized variables
Will change to use g_strdup_printf() as you said.
>
> > + int fd;
> > + ssize_t len;
> > + struct stat stbuf;
> > + struct dirent *dent;
> > + int sg_num = in_num;
> > + struct iovec sg[sg_num];
>
> 'sg_num' is initialized from 'in_num' which comes from the
> guest, and I'm not seeing anything which is bounds-checking
> the 'in_num' value. So you've possibly got a secur...
2017 Jul 12
1
metRology package
...his:
#sample area
L<-5*2.54 #cm
W<-8*2.54 #cm
#sample mass
m<-0.2543*1000 #mg
#uncertainties
L.u<-(1/16)*2.54 #cm (nearest 16th inch)
W.u<-(1/16)*2.54 #cm
m.u<-0.006*1000 #mg scale calibration data
denth<-c(0,0,0)
singth<-c(0,0,0)
for(i in 1:1e5) {
#denth[i]<-7*dt+sum(rnorm(7,0,dt.u))
for(j in 1:7)
singth[j]<-(m+rnorm(1,0,m.u))/((L+rnorm(1,0,L.u))*(W+rnorm(1,0,W.u)))
denth[i]<-sum(singth)
}
sd(denth) #0.07279882
Now wit...
2007 May 03
7
How to create a drop-down list with Markaby?
...9;t figure out, how to create a drop-down list with Markaby. How
would I create something like this:
<select name="character">
<option value="marvin">Marvin the paranoid Android</option>
<option value="arthur">Arthur Dent</option>
<option value="zaphod">Zaphod Beeblebrox</option>
<option value="trillian">Tricia McMillan</option>
<option value="ford">Ford Prefect</option>
</select>
with Markaby?
Thank...
2004 Dec 02
6
Asterisk crashes my router!?
Hi,
Does anybody else have problems like this.
I'm in the UK with a 1mb ADSL service from Eclipse. I have a Draytek
Vigour 2600 ADSL router.
My * box is configured with a public IP address which is presented on
one of the switch ports on the rear of the router.
When there is some SIP activity, incoming mainly, towards my * box,
the router will lockup after a short period?!
I've tried
2005 Mar 22
4
OT: does Sipura SPA 3000 support UK caller id?
Hi,
the topic says it all really.
Does the Sipura 3000 detect and report UK clid correctly?
thanks
Mike
2003 Jun 16
2
HP-UX and Samba 3.0
...luck so far. The LDFLAG that it uses, I believe -g, but I'd
have to look, is not supported.
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
2003 Jul 23
2
Logoff script?
...and removing of printers
via WSH, I'd prefer to also remove these printers after I log off.
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
2024 Oct 30
2
[PATCH 2/2] [v9] drm/nouveau: expose GSP-RM logging buffers via debugfs
...is available. Otherwise, the
NV_VGPU_MSG_EVENT_UCODE_LIBOS_PRINT RPCs are ignored.
A simple way to test the buffer migration feature is to have
nvkm_gsp_init() return an error code.
Signed-off-by: Timur Tabi <ttabi at nvidia.com>
---
v9:
- rebased to drm-misc-next
- move nvkm_gsp logging dentries into debugfs struct
- add gsp_logging_debugfs_root and always create the root dentry
- remove root struct in r535.c, along with mutex code
- rename dir to dent
- add missing calls to create_debugfs helper
- r535_gsp_copy_log was not calling i_size_write
drivers/gpu/drm/nouveau/include/nvif/lo...
2009 May 29
1
[PATCH v2] klibc-utils: add simple ls
...nk_name);
+ perror("readlink");
+ exit(1);
+ }
+ link_name[rc] = '\0';
+ fprintf(stdout, " -> %s", link_name);
+ free(link_name);
+ }
+
+ putchar('\n');
+ return;
+}
+
+static void do_dir(const char *path, int preformat)
+{
+ DIR *dir;
+ struct dirent *dent;
+ struct stat st;
+
+ if (chdir(path) == -1) {
+ perror(path);
+ exit(1);
+ }
+
+ if ((dir = opendir(path)) == NULL) {
+ perror(path);
+ exit(1);
+ }
+
+ while ((dent = readdir(dir)) != NULL) {
+ if (lstat(dent->d_name, &st)) {
+ perror(dent->d_name);
+ exit(1);
+ }
+ (preform...
2009 May 28
1
[PATCH] klibc-utils: add minils
...link_name, max_siz) == -1) {
+ perror("readlink");
+ free(link_name);
+ exit(1);
+ }
+ printf(" -> %s", link_name);
+ free(link_name);
+ }
+
+ printf ("\n");
+ return;
+}
+
+static void do_dir(const char *path, int preformat)
+{
+ DIR *dir;
+ struct dirent *dent;
+ struct stat st;
+
+ if (chdir(path) == -1) {
+ perror(path);
+ exit(1);
+ }
+
+ if ((dir = opendir(path)) == NULL) {
+ perror(path);
+ exit(1);
+ }
+
+ while ((dent = readdir(dir)) != NULL) {
+ if (lstat(dent->d_name, &st)) {
+ perror(dent->d_name);
+ exit(1);
+ }
+ (preform...
2016 Jul 18
3
[PATCH 2/3] qemu: Implement virtio-pstore device
...return -1;
+ }
+
+ return 0;
+}
+
+static ssize_t virtio_pstore_do_read(VirtIOPstore *s, void *buf, size_t sz,
+ struct virtio_pstore_hdr *hdr)
+{
+ char path[PATH_MAX];
+ FILE *fp;
+ ssize_t len;
+ struct stat stbuf;
+ struct dirent *dent;
+
+ if (s->dir == NULL) {
+ return -1;
+ }
+
+ dent = readdir(s->dir);
+ while (dent) {
+ if (dent->d_name[0] != '.') {
+ break;
+ }
+ dent = readdir(s->dir);
+ }
+
+ if (dent == NULL) {
+ return 0;
+ }
+
+ v...
2004 Dec 14
2
Issues with trustdom on 3.0.9
...ictions/other activities on that box. A point in the
right direction would be much appreciated.
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III
|$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
2004 Mar 02
7
Cisco IP Phones
We have worked with some of you supplying Cisco IP phones to use with your
Asterisk system. We have a good supply of new and used Cisco IP phones
(CP-7905, CP-7940 and CP-7960) at this time. All of our equipment carries a
90-day warranty. If we can help you out with any of your phone, router or
switch needs, please let me know.
Thanks,
Jon Putnam
Global Technology Solutions
main #763-488-1870