Hello,
my 9pfuse on mac is something weird.
executing: 9pfuse hebe /n/hebe # hebe is one of my plan9 server
(9front)
I can see /n/hebe/usr/arisawa/tmp
-bash$ ls -l /n/hebe/usr/arisawa/tmp/x
ls: /n/hebe/usr/arisawa/tmp/x: No such file or directory# this is OK. I
don’t have tmp
Hello,
my 9pfuse on mac is something weird.
by executing: 9pfuse hebe /n/hebe # hebe is one of my plan9
server (9front)
I can see /n/hebe/usr/arisawa/tmp
-bash$ ls -l /n/hebe/usr/arisawa/tmp/x
ls: /n/hebe/usr/arisawa/tmp/x: No such file or directory# this is OK. I
don’t
Hello,
my 9pfuse on mac is something weird.
by executing: 9pfuse hebe /n/hebe # hebe is one of my plan9
server (9front)
I can see /n/hebe/usr/arisawa/tmp
-bash$ ls -l /n/hebe/usr/arisawa/tmp/x
ls: /n/hebe/usr/arisawa/tmp/x: No such file or directory# this is OK. I
don’t
lst->st_size; <- why Russ
put this code?
}
Any merit?
Kenji Arisawa
-
P.S. This mail is resent because the mail wasn't received by 9fans.
lst->st_size; <- why Russ
put this code?
}
Any merit?
Kenji Arisawa
9l -o o.test_dirread test_dirread.o mdirread2.o _mp9dir.o
-bash$ o.test_dirread .
.DS_Store arisawa staff 644 6148
_mp9dir.c arisawa staff 644 4948
_mp9dir.o arisawa staff 644 10284
_p9dir.c arisawa staff 444 4733
a.out arisawa staff 755 9552
a1.c arisawa staff 644 741
b1.c arisawa staff 644 2390
dirread.
kdestroy
> kextutil
> keytool
> kgetcred
> kill.d
675a688,694
> piconv
> piconv5.16
> piconv5.18
> pidpersec.d
> pkgbuild
> pkill
> pl
880a900,904
> spfquery5.18
> splain
> splain5.16
> splain5.18
> split
sorry if I make a mistake, but I suspect rea
for(i = 0; i < n; i++)
print("%s %s %s \n", db[i].name, db[i].uid, db[i].gid);
}
close(fd);
shows for dirname=$HOME
...
arch root 501
bin root 501
...
but they should be
arch arisawa staff
bin arisaw
> のメール:
>
>
>> On Apr 7, 2017, at 6:18 PM, arisawa <karis...@gmail.com> wrote:
>>
>> the problem comes from getdirentries() used in $P9P/src/lib9/dirread.c, I
>> think.
>>
>> man getdirentries(2) of OSX says:
>
> And, dare I quote a L
. See stat(2) for more information on _DARWIN_NO_64_BIT_INODE and
its
other effects.
> 2017/04/07 10:18、Lyndon Nerenberg <lyn...@orthanc.ca> のメール:
>
>
>> On Apr 6, 2017, at 5:49 AM, arisawa <karis...@gmail.com> wrote:
>>
>> on my system (on osx(1
.
my experiments show:
the problem of osx comes from dirreadall()
the function call works for freebsd but not for osx.
anyone has fixed this problem?
Kenji Arisawa
or the documentation is misleading. the man
> page seems to say that the pair of fd's returned by pipe(2) are symmetrical,
> but it matters which fd of the pair is used for writing. if you switch
> around pfd[0] and pfd[1], it works as you'd expect.
>
> On Fri, Mar 31, 2017 at 5:29 P
) > sizeof(buf0).
is this a bug or feature of pipe?
Kenji Arisawa
=== BEGIN a.c ===
#include
#include
char *argv0;
void
usage(void)
{
fprint(2,"usage: %s file\n",argv0);
exits("usage");
}
void
main(int argc, char *argv[])
{
int fd,pfd[2
found the program does not finish unless sizeof(buf) > sizeof(buf0).
is this a bug or feature of pipe?
Kenji Arisawa
=== BEGIN a.c ===
#include
#include
char *argv0;
void
usage(void)
{
fprint(2,"usage: %s file\n",argv0);
exits("usage");
}
void
ma
ply adding loopback address
"::1" to /net/ipselftab?
isn’t it enough the code below?
ip/ipconfig $xdir loopback /dev/nulladd ::1 /128
it seems this code is working for me.
Kenji Arisawa
Hello,
> 2016/11/07 8:29、Chris McGee のメール:
>
> Hi All,
>
> I have cleaned up some of the concurrency code and USB. The new release is
> here:
> https://github.com/sirnewton01/rpi-9front/releases/tag/nov2016-2
>
> Thanks,
> Chris
many thanks, I will try.
by the way I
hello Chris,
> 2016/11/02 20:17、Chris McGee のメール:
>
> What's wrong with the large display?
the display size is 1920x1200.
when I try to resize a window, the mouse cursor flips and it is difficult to
resize.
sorry
> mount -a '#G' /dev
shoud be
bind -a '#G' /dev
> 2016/11/02 19:47、arisawa <aris...@ar.aichi-u.ac.jp> のメール:
>
> hi steve
>
>> 2016/11/02 16:57、Steve Simon <st...@quintile.net> のメール:
>>
>> can you tell me what the gpio file system look
hi steve
> 2016/11/02 16:57、Steve Simon のメール:
>
> can you tell me what the gpio file system looks like
try
ls -l '#G'
them you will find some files such as
#G/gpio/CE0
#G/gpio/CE1
#G/gpio/GPI00
#G/gpio/GPI01
...
I’ve tried both pi1 and pi2.
both devices successfully boot up.
my impression only in primitive usage is:
pi2 is fine. thanks Chris!
pi1 is a bit unsteady on usb device. usb keyboard is sometimes accidentally
detached.
> 2016/11/02 14:05、arisawa <aris...@ar.aichi-u.ac.jp> のメール:
>
thanks, i will try.
is this for pi1 or pi2 or both?
> 2016/11/02 10:35、Chris McGee のメール:
>
> Hi All,
>
> I have released an experimental 9front raspberry pi image that I use for my
> cluster.
> https://github.com/sirnewton01/rpi-9front/releases/tag/nov-2016
>
>
I can get proper response from http://plan9.bell-labs.com/sources/ by using
mac/osx safari.
> 2016/10/03 2:42、James A. Robinson のメール:
>
> So... Does Alcatel-Lucent have a problem with AppleWebKit
> users on principle?
>
> It looks to me as though my problem with browsing
hello skip,
it is too late but I should say many thanks.
> 2016/05/21 7:04、Skip Tavakkolian <9...@9netics.com> のメール:
>
> supermic% time ./cpu -h grid.nyx.link -k 'dom=outside.plan9.bell-labs.com' -c
> pwd
> dial took: 165268068 ns
> negotiate auth took: 159047373 ns
> factotum autenticate
Hello,
> 2016/05/21 11:25、Skip Tavakkolian <9...@9netics.com> のメール:
>
> i think this fix is correct; i'm not sure why tokenize didn't have a
> problem walking a buffer it expects to be null terminated.
I agree with skip.
the man wait(2) says:
The underlying system call is await, which
parallel dialing would be fine.
I guess both cinap and erik have examined labs code.
any problem with it?
> 2016/05/21 7:25、Charles Forsyth のメール:
>
>
> On 20 May 2016 at 23:04, Skip Tavakkolian <9...@9netics.com> wrote:
> i'm a little confused by the discussion of il
I am sorry that I didn’t give enough information but I din’t know there is so
much difference
on the subject among 9front, 9atom and labs plan9.
> 2016/05/21 7:04、Skip Tavakkolian <9...@9netics.com> のメール:
>
> i'm a little confused by the discussion of ...
nice idea.
I’ve put an option to cs so that il isn’t listed first.
> 2016/05/20 0:48、Charles Forsyth のメール:
>
> It's not just il. There are other networks, other protocols, other than tcp
> and IP.
> It's one of the advantages of plan 9 that it's easy to try and use
cinap is right but I wonder if we should take care of IL forever.
> 2016/05/18 18:14、cinap_len...@felloff.net のメール:
>
> yes, passing netroot to netmkaddr() is wrong. however, i dont see where
> we pass anything other than netroot=nil to authdial().
>
> i suspect what you'r experiencing is that
/net/tcp/clone 115.36.102.252!17010
> /net/tcp/clone 2402:6b00:4040:b600::9!17010
> 0.00u 0.00s 0.01r ndb/csquery /net/cs net!grid.nyx.link!cpu
> supermic%
>
> i suspect it's auth negotiations.
>
>
>
> On Wed, May 18, 2016 at 6:07 AM Charles Forsyth <charles.
cpu -h tcp!grid.nyx.link -k dom=luna.nyx.link ...
you need to recompile libauthsrv, factotum and kernel.
I am happy if anyone send me data from outside of japan.
putting “tcp!” is clumsy. fixing cpu.c is also desirable.
p.s. thanks skip for the suggestion.
Kenji Arisawa
> 2016/05/14 22
rv = dial(p, 0, 0, 0);
+ if(rv >= 0)
+ break;
NOTE that
return dial(netmkaddr("$auth", netroot, "ticket"), 0, 0, 0);
should be also fixed.
Kenji Arisawa
May 14 22:21:22 rexcall:netmkaddr 565 μsec; tcp!io!ncpu
vbt May 14 22:21:22 rexcall:dialing 977 μsec; tcp!io!ncpu
vbt May 14 22:21:22 rexcall:dial 7287 μsec
isn’t it better the default net be “tcp”?
even if you do want “net”, you can do
cpu -h net!host
Kenji Arisawa
for(i in 1 2 3){
time cpu -h HOST -k ‘dom=DOM’ -c pwd
sleep 3
}
thanks in advance.
Kenji Arisawa
2 3){
time 9fs $host
#unmount /n/$host
rm /srv/$host
sleep 3
}
term% try -m sources outside.plan9.bell-labs.com arisawa
post...
0.00u 0.01s 1.31r9fs sources
post...
0.00u 0.03s 0.69r9fs sources
post...
0.00u 0.00s 0.58r9fs sources
term%
te
supports both IPs.
the cpu command will select IPv4. the command does not have “-6” option.
If we want to connect by IPv6, literal IP address is required in the argument
of the command.
Kenji Arisawa
> In my experience, it's almost unfailingly the DNS that slows down
> establishing an In
){
time 9fs $host
unmount /n/$host
sleep 3
}
}
probably cpu command latency will show similar behavior with much more time.
Kenji Arisawa
myself. let me know if you
know, please.
I am also happy if someone give me data by accessing my grid server.
then the HOST is grid.nyx.link and the DOM is outside.plan9.bell-labs.com and
need your bell-labs key in factotum.
thanks in advance.
Kenji Arisawa
where is patch on http://9p.io/ ?
there are your patch on sources
grid% ls -l /n/sources/patch/syscall-*
--rw-rw-r-- M 105 fst sys 35842 Mar 17 09:52
/n/sources/patch/syscall-exportfs/chan.c
--rw-rw-r-- M 105 fst sys 35357 Mar 17 09:52
/n/sources/patch/syscall-exportfs/chan.c.orig
--rw-rw-rw- M
hello,
rtl8169 is popular in cheap MB, so it is installed in my many MBs.
however, cat /dev/kmesg claims:
rtl8169: oui 0x732 phyno 1, macv = 0x3c00 phyv = 0x0002
#l0: rtl8169: 100Mbps port 0xD000 irq 10: 001fd0169891
the “100Mbps" in the message is correct or not?
I also feel rtl8169 is
.
how to find fd leakage?
thanks in advance
io% ps|grep dns
arisawa 2480:00 0:00 348K Awaitdns
arisawa 2490:00 0:0014584K Preaddns
arisawa 2500:12 0:1214576K Preaddns
io% cat /proc/^(248 249 250)^/fd
/usr/arisawa
0 r M8
tal("exec rc: %r");
}
for(p = waitpid(); p >= 0; p = waitpid())
if(p == pid)
return msg.msg;
return "lost child";
}
fd is lost if pid > 0
my server is running on 9front. however both 9atom and bell-labs use same
routine.
Kenji Arisawa
thanks for your reply.
the server mmac is mac and mountable from plan9 using 9fs.
auth method is set to p9any in u9fs setting.
In the experiment, I once (and only once) requested password
-bash$ 9fs mmac
!adding key: role=client proto=p9sk1 dom=mmac
user[arisawa]:
password:
!
authdial
be great if 9pfuse can mount u9fs
Kenji Arisawa
Hello 9fans,
I added mirror page of sources of bell-labs.
look http://p9.nyx.link/sources
I am afraid the page has a problem with copyright or something else.
if so, please inform me.
I will remove them if necessary.
Kenji Arisawa
Hello,
> 2016/02/15 7:57、Charles Forsyth のメール:
>
>
> On 14 February 2016 at 16:38, wrote:
> i could imagine the filtering being usefull when cpu'ing to foreign machines,
> as a server can easily compromize your system when cpu exports your
Hello 9fans,
I also have constructed mirror page of Plan 9 Wiki just now.
please try.
http://p9.nyx.link/wiki/plan_9_wiki/
> 2016/02/10 12:32、arisawa <aris...@ar.aichi-u.ac.jp> のメール:
>
> many thanks.
>
>> 2016/02/10 10:45、R. Lucas van Ryn <rvan+pl...@sdf.org> のメー
hello 9fans,
bell-labs wiki page is down.
both
http://www.cs.bell-labs.com/wiki/plan9//plan_9_wiki/
and
http://www.cs.bell-labs.com/wiki/plan9/plan_9_wiki/
says:
Object not found
is there any mirror of that wiki?
Kenji Arisawa
many thanks.
> 2016/02/10 10:45、R. Lucas van Ryn <rvan+pl...@sdf.org> のメール:
>
> On Wed, Feb 10, 2016 at 10:40:21AM +0900, arisawa wrote:
>> bell-labs wiki page is down.
>>
>> is there any mirror of that wiki?
>
> There is http://9p.io/wiki/plan9/plan_9_wiki/
>
thanks cinap,
your advice resolved my problem.
aux/wpa is pretty wise!
> 2016/01/31 6:37、cinap_len...@felloff.net のメール:
>
> aux/wpa doesnt need to be restarted really. it uses factotum to derive
> the psk using the current essid read from the wifi drivers ifstats file.
> so to switch essid's
point.
now I reboot and reconnect to other essid.
anyone knows better way?
Kenji Arisawa
hello erik,
did you try ndb/csquery on the machine named dual?
> 2016/01/10 1:18、erik quanstrom のメール:
>
>>> tcp!io.local!1
>> /net/tcp/clone 192.168.0.5!1
>> /net/tcp/clone 2402:6b00:22cd:bf80::5!1
>>>
>> io%
>>
>> is there any reason that csquery should not show
hello erik,
> there is no machine named "dual". it was just a set of ndb entries.
> i tried the same experiment with a machine i have, and got the same
> result.
>
> - erik
>
hmmm… then it seems that problem is only to me.
thanks for your experiments!
et/tcp/clone 192.168.0.5!1
/net/tcp/clone 2402:6b00:22cd:bf80::5!1
>
io%
is there any reason that csquery should not show both IPs
when address is sysname on that csquery command is executed?
Kenji Arisawa
hello,
I have recently reinstalled 9pi.
-rw-r-@ 1 arisawa staff 127695824 1 1 18:38 9pi.img.gz
which is downloaded from plan9.bell-labs.com/sources/contrib/miller/9pi.img.gz
the img works fine with 8GB sd card (4GB is OK?)
I don’t experience your problem.
in 9front distribution we can
hello,
I did nothing about original ping options, so they should work as they have
been.
I am afraid I have removed too much.
the new ping is here. test, please.
ping.c
Description: Binary data
> 2015/12/31 7:43、Kenny Lasse Hoff Levinsen のメール:
>
> It is not a
rtt 158 µs,
ttl = 255
code is simplified.
io% ls -l
--rw-rw-r-- M 327 arisawa arisawa 9942 Dec 30 21:27 ping.c
--rw-rw-r-- M 327 arisawa arisawa 10943 Dec 28 15:59 ping.c.orig
io%
Kenji Arisawa
> 2015/12/28 18:04、arisawa <aris...@ar.aichi-u.ac.jp> のメール:
>
> hello 9fans,
>
&
6b00:22cd:bf80::6 rtt 88 µs, avg rtt 95 µs,
ttl = 255
2: 2402:6b00:22cd:bf80::5 -> 2402:6b00:22cd:bf80::6 rtt 84 µs, avg rtt 91 µs,
ttl = 255
3: 2402:6b00:22cd:bf80::5 -> 2402:6b00:22cd:bf80::6 rtt 104 µs, avg rtt 94 µs,
ttl = 255
is this a feature or a bug?
Kenji Arisawa
No.
The difficulty is in the pattern matching rule.
If we want to export only /usr/glenda, then the pattern matching filer must pass
/usr
/usr/glenda
and must not pass
/usr/
have you get solution?
> 2015/12/22 18:25、Peter Hull <peterhul...@gmail.com> のメール:
>
> Mr Arisawa,
&g
Hello 9fans.
I have started a new 9grid server with some services.
Please look http://p9.nyx.link/9grid2/9grid.html for details.
This is an experimental service.
If you noticed something bad, please inform me.
Kenji Arisawa
> 2015/11/12 16:30、arisawa <aris...@ar.aichi-u.ac.jp> のメール:
&
terhul...@gmail.com> のメール:
>
> On Wed, Dec 16, 2015 at 11:31 PM, arisawa <aris...@ar.aichi-u.ac.jp> wrote:
>> It seems cpu command is buggy in -P option.
>> the sources of the problem is in command option -P of exportfs.
>
> I had a look at the manpag
I said:
> 2015/12/01 12:24、arisawa <aris...@ar.aichi-u.ac.jp> のメール:
>
> Hello 9fans,
>
> current kernel allows unmount even if after rfork m.
> this feature makes sandboxing difficult.
> can anyone explain this feature is necessary?
>
> Kenji Arisawa
I make
Hello 9fans,
current kernel allows unmount even if after rfork m.
this feature makes sandboxing difficult.
can anyone explain this feature is necessary?
Kenji Arisawa
is practically infeasible.
9grid enables opposite approach:
login to servers and process the data there and gather the results.
we have all the tools that are necessary to do this as much as 10 years ago.
what is lacking is target data.
any idea?
Kenji Arisawa
auth
will produce
dom=foo auth=bar
on the other hand, if the blank line is empty, then the command will produce
dom=foo
Is this a bug or a specification?
I want to believe this is a bug.
Kenji Arisawa
hello,
your blank line doesn’t have a white space.
> 2015/11/10 12:02、erik quanstrom のメール:
>
> On Mon Nov 9 04:32:24 PST 2015, aris...@ar.aichi-u.ac.jp wrote:
>> Hello,
>>
>> manual ndb(6) says: "Each line starting without white space starts a new
>> tuple. Lines
yes, your right.
the manual says what the code does.
however I don’t think it is a good idea to make sense in white spaces within
blank line.
probably the code does not suppose blank lines within ndb entry.
> 2015/11/10 13:05、erik quanstrom のメール:
>
> On Mon Nov 9
ent makes problem.
Kenji Arisawa
Hello,
does anyone have 9vx that is working on recent osx (Yosemite for example)?
mine is weird: when I type “abc”, I have “aabbcc”.
Kenji Arisawa
thanks.
anyway, simple “runq” does not work.
should be fixed.
> 2015/09/26 18:11、Charles Forsyth <charles.fors...@gmail.com> のメール:
>
>
> On 26 September 2015 at 06:29, arisawa <aris...@ar.aichi-u.ac.jp> wrote:
> I think “runq” should be replaced by “upas/runq”
&
thank you erik.
you are very careful!
I didn’t aware that garbage.
however removing “ip” does not fix my problem.
looking source code I guess: names that are not followed by “=“ are just
discarded.
I want to know whether this is only to me.
erik, thanks again!
> 2015/09/27 0:28、erik quanstrom
Hello,
qer(8) says:
Runq is often called from cron(8) by an entry such as
0,10,20,30,40,50 * * * * kremvax
runq -a /mail/queue /mail/lib/remotemail
I think “runq” should be replaced by “upas/runq”
Kenji Arisawa
are advertised by DHCP server
# we assume that dhcpd is running on the same ip. look /cfg/common/cpurc
dns=192.168.0.6
yes my dns is running on 192.168.0.6
any wrong setting in /lib/ndb/local?
if not, I think these warning messages are annoying.
Kenji Arisawa
‘') ### s/sysname/mev6/g
mev6=`{ndb/query -mf $ndbf sys $sysname ip | grep :}###
s/-f/-mf/
Kenji Arisawa
Thanks cinap,
your detailed explanation will be helpful to me and all others.
Kenji Arisawa
2015/07/12 0:37、cinap_len...@felloff.net のメール:
when you query /net/dns, it differentiates between ip (A) and ipv6
() records. so querying for ip only yields ipv4 addresses and
querying
Thanks.
It seems you are right.
I have been playing with ipv6 and yet i don’t understand something.
What is the rule to select an IP if we allow multiple IPs for a dom?
Maybe case by case. But how to select ipv6 in case of telnet?
2015/07/07 2:01、cinap_len...@felloff.net のメール:
i dont know
173.194.117.211!*
/net/tcp/clone 173.194.117.212!*
/net/tcp/clone 2404:6800:4004:80c::1014!*
why csquery does not show ipv6 address of maia?
Kenji Arisawa
thanks all.
now I have achieved my goal.
2015/06/22 19:34、lu...@proxima.alt.za のメール:
how to enable locally assigned name resolution such as maia?
The dns man page requires careful reading, but all the details are in
there. I have a pretty complex DNS configuration and it seems to
cause
to enable locally assigned name resolution such as maia?
I have many computers on my home network. currently I am registering them to
/etc/hosts.
but that is a pain.
Kenji Arisawa
Hi, erik,
Thanks a lot!
2015/01/29 15:42、erik quanstrom quans...@quanstro.net のメール:
i hope i haven't overplayed my argument. i am for real solutions to this
issue.
i'm not for the current solution, or more complicanted variants.
Thanks for all.
I have looked old source code /sys/src/9/port/proc.c, and found the next code
exists from very old day.
lock(procalloc);
for(;;) {
if((p = procalloc.free) != nil)
break;
snprint(msg, sizeof msg, no procs;
we don’t have perfect solution.
nevertheless, we must protect system.
if we search ideal (or nearly ideal) solution, we should assign limited
resource to each user.
however this is a big job, I believe.
current plan9 system is running under shared resource model.
under this model, it is very
Hello,
nonetheless, i have experience running multi-user plan 9 systems, and users
were not usually the issue.
Eric’s users are all gentleman, all careful people and all skillful programmers.
If your system is served for university students, you will have different
thought.
i think you've
Hello,
i think it will go the same way with fork protection. how do you tell which
program
is at fault? how do you tell a program forking at high frequency, with short
lived
children from a fork bomb? (such as a busy web server.)
only system administrator knows which processes should
Hello,
I have been playing the following program.
I tried on official plan9, 9front, and 9atom.
none of them showed messages that come from:
sysfatal(fork: %r”);
sysfatal(exec: %r);
I suspect that
fork()
does not return -1 even if it failed in creating new
Hello,
many of resource exhaustion come from careless programming.
I would like such processes to be killed immediately.
throwing up to broken state might be better.
I prefer an option to plan9.ini that enable resrcwait(), because the call breaks
traditional programming style and probably we need
be a bug in rc.
Kenji Arisawa
2015/01/25 15:16、arisawa aris...@ar.aichi-u.ac.jp のメール:
Hello 9fans
my mac has a protection below:
-bash$ cat foo
#!/bin/sh
./foo
-bash$ ./foo
./foo: fork: Resource temporarily unavailable
-bash$
on the other hand, Plan 9 does not.
kernel is protected
anyone have idea to fix the problem?
Kenji Arisawa
OK, thanks
2014/11/29 13:57、minux minux...@gmail.com のメール:
On Fri, Nov 28, 2014 at 11:42 PM, arisawa aris...@ar.aichi-u.ac.jp wrote:
rc(1) says:
rfork [nNeEsfFm]
Become a new process group using rfork(flags) where
flags is composed of the bitwise
Arisawa
2014/11/25 15:56、tre...@india.com のメール:
a = `{ls file}^test; echo 'this part is not executed if file doesn''t exist'
probably your question is as follows:
maia% a = `{ls file}^test; echo 'this part is not executed if file doesn''t
exist'
ls: file: 'file' directory entry not found
rc: null
example is required.
2014/11/25 13:24、tre...@india.com のメール:
Hello everyone.
I'm curious about the behavior of rc concatenating null strings (brakes
execution on error...). It's a feature, rationally thought-out, or a bug?
If anyone can tell me the story behind, I'll be grateful.
in determining the mime
type?
If so, should files with suffix “.JPG” be renamed to “.jpg” ?
Kenji Arisawa
2014/11/14 21:13、arisawa aris...@ar.aichi-u.ac.jp のメール:
Hello,
It is curious for me that .jpg has two entries in /sys/lib/mimetype.
term% grep jpeg /sys/lib/mimetype
.jfif image
Hello,
/sys/lib/mimetype is referenced in three files:
/sys/src/cmd/ip/httpd/content.c # for outgoing file
/sys/src/cmd/upas/marshal/marshal.c # for outgoing file
/usr/arisawa/src/upas/vf/vf.c # for incoming file
the codes are as follows.
/sys/src/cmd/ip/httpd/content.c
/sys/src/cmd/ip
that the file provides conventional way to determine mime type from
file suffix.
If so, what is the mime type for foo.jpg?
Kenji arisawa
thought that the file provides conventional way to determine mime type
from file suffix. If so, what is the mime time for foo.jpg?
Kenji Arisawa
thanks for all.
our conclusion is: worthless to fix.
Kenji Arisawa
in dangerousness between some environment variable
are destroyed
and arbitrary commands can be executed.
Kenji Arisawa
2014/09/28 18:39、Richard Miller 9f...@hamnavoe.com のメール:
when rc is invoked, rc reconstructs shell variable and shell functions using
files in /env/.
in case of shell functions
Arisawa
2014/09/27 23:40、Christian Neukirchen chneukirc...@gmail.com のメール:
The problem could be completely avoided if the '{}' were implicit, that
is, store
fn foo { echo bar }
as
fn#foo=echo bar
(Also, I heard Research Unix v8 sh(1) stored functions in the environment
as foo
*)-1)
return 0;
return vastart;
}
I think it should be
- if(segattach(0, shared, vastart, len) == (void*)-1)
+ if((vastart = segattach(0, shared, vastart, len)) == (void*)-1)
Kenji Arisawa
Hello,
I think
vastart += 2*1024*1024;
is weird.
if we look /proc/$ip/segment in share(), we will have better solution.
but I am not convinced we should apply the solution.
because we seldom needs shared segment.
I haven’t had any trouble with telnetd.
I needed shared segment for
1 - 100 of 230 matches
Mail list logo