Home | History | Annotate | Download | only in sys
History log of /src/lib/libc/sys/utimes.2
RevisionDateAuthorComments
 1.40  05-Oct-2013  ast Fixed spelling of 'appeared'.
 1.39  14-Sep-2013  njoly Add needed sys/stat.h include for utimens functions.
 1.38  29-Jul-2013  njoly Add utimensat(2) specific errors.
 1.37  08-Mar-2013  christos PR/47631: NAKAJIMA Yoshihiro

1. Utimens and lutimens don't require timeval but timespec.
2. The order of functions doesn't have a uniformity.
3. Utimens.2 and lutimens.2 aren't installed.
 1.36  13-Jan-2013  dholland Revert defective O_SEARCH implementation committed by manu@ along with
the *at system calls on November 18th of last year. Reasons to revert
it include:
- it is incorrect in a whole variety of ways (but fortunately, one
of them is that the missing and improper permission checks have
no net effect);
- it was committed without review or discussion;
- core ruled that all the new O_* flags pertaining to the *at calls
needed to wait until their semantics could be clarified.

manu was asked to revert it on these grounds but has ignored the request.

I have left O_SEARCH defined and visible and made open() explicitly
ignore it. This way, most code that tries to use it will continue to
build and run. I've also arranged lib/libc/c063/t_o_search.c so that
the tests that make use of the O_SEARCH semantics will disappear until
O_SEARCH comes back, and fixed some mistakes and/or incorrect hacks
that were causing some of these to succeed despite the broken O_SEARCH
implementation.
 1.35  01-Dec-2012  wiz Bump date. New sentence, new line. Wording/articles.
Sort errors while here.
 1.34  01-Dec-2012  wiz Remove trailing whitespace.
 1.33  18-Nov-2012  manu Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
 1.32  04-Nov-2012  wiz Bump date for previous. Grammar fix.
 1.31  03-Nov-2012  christos add utimens and lutimens wrappers using utimensat.
 1.30  25-Oct-2011  wiz branches: 1.30.2; 1.30.8;
Fix typo reported by Henning Petersen in PR 45515.
 1.29  22-Aug-2011  enami Fix the name of syscall which takes timespec as argument.
 1.28  17-Aug-2011  wiz Remove trailing whitespace. Bump date for previous.
New sentence, new live. End sentence with dot.
 1.27  17-Aug-2011  manu Add futimens(2) and part of utimnsat(2)
 1.26  29-Apr-2010  jruoho Fix the standards: utimes(2) is still in SUSv4, although marked as legacy.
 1.25  29-Apr-2010  wiz Sort errors.
 1.24  29-Apr-2010  jruoho Note that utimes(2) no longer enjoys the blessing of POSIX.
 1.23  17-Jun-2008  christos branches: 1.23.6;
PR/38942: Pedro F. Giffuni: Mention that utimes now supports setting of
the birthtime. Text from FreeBSD.
 1.22  13-May-2004  wiz branches: 1.22.26;
\- is a minus, not -.
 1.21  27-Apr-2004  kleink POSIX-2001: Add restrict keywords to gettimeofday(2) and setitimer(2);
further deprecate struct timezone usage by changing `tzp' argument to
gettimeofday() to void *; align utimes(2) declaration by changing `times`
argument from struct timeval * to struct timeval[2]. From Murray
Armfield in PR standards/25331.

In due curse, reflect these changes in futimes(2), lutimes(2), and
settimeofday(2).
 1.20  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.19  16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.18  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.17  08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.16  16-Sep-2001  wiz Boring whitespace fixes.
 1.15  02-Dec-1999  kleink branches: 1.15.6;
Add a LIBRARY section to system call manual pages. While it's clear that the
libraries contain stubs only (with minor exceptions a la pipe(2)), the purpose
of this section is to provide linkage information.
 1.14  26-Sep-1999  jdolecek xref symlink(7)
 1.13  22-Mar-1999  garbled branches: 1.13.4;
Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Wheee!
 1.12  11-Oct-1997  enami - Don't use captial letter for function name or function args even if
it is at the beginning of a sentence.
- In SYNOPSIS, rename function argument ``file'' to ``path'', since it is
refered as ``path'' in DESCRIPTION.
- Use ``Fa path'' instead of ``Xr File'', since probably use of Xr is a typo,
and now function argument is called ``path''.
 1.11  06-Oct-1997  enami Acutally, lchmod, lchown and lutimes may set errno to ELOOP.
 1.10  06-Oct-1997  enami Add C library interface for new system call lchmod, lchown and lutimes.
 1.9  23-Apr-1996  mycroft Document futimes().
 1.8  12-Jul-1995  cgd fix pr 1214 slightly differently. i _didn't_ use the .Fa macro to
mark "file," because in context it didn't seem as if the argument was
being literally named. rather it seemed that the argument's purpose
being described. (the difference being: "... modification times of the
file named by file" would be a case where the the argument was named,
and thus be used with .Fa.)
 1.7  27-Feb-1995  cgd merge with lite, keeping most local changes. clean up Ids
 1.6  22-Apr-1994  jtc Remove description of EINVAL, "The pathname contains a character with the
high-order bit set", as this error is obsolete.

Eventually we may want to add code to some of the "optional" filesystems
(msdosfs, etc.) that checks for illegal characters. At that time it would
be appropriate to reintroduce this error with appropriate text. Perhaps
"The pathname contains a character that is not valid for filesystem type".
 1.5  19-Apr-1994  jtc Use symbolic names {NAME_MAX} & {PATH_MAX} instead of 255 and 1023 in
description of ENAMETOOLONG error.
 1.4  25-Nov-1993  jtc Clean up manpages:
Use .Fn rather than .Nm macro in HISTORY and STANDARDS sections.
Use .At and .St macros instead of spelling out "Version 6 UNIX",
"IEEE 1003.1-1988 (POSIX)", etc.
 1.3  14-Aug-1993  jtc Clean up manpage; cross-reference utime(3).
 1.2  01-Aug-1993  mycroft Add RCS indentifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  27-Feb-1995  cgd from Lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.13.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.15.6.3  22-Mar-2002  nathanw Catch up to -current.
 1.15.6.2  08-Mar-2002  nathanw Catch up to -current.
 1.15.6.1  08-Oct-2001  nathanw Catch up to -current.
 1.22.26.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.23.6.2  17-Jun-2008  christos PR/38942: Pedro F. Giffuni: Mention that utimes now supports setting of
the birthtime. Text from FreeBSD.
 1.23.6.1  17-Jun-2008  christos file utimes.2 was added on branch christos-time_t on 2008-06-17 17:46:41 +0000
 1.30.8.4  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.30.8.3  23-Jun-2013  tls resync from head
 1.30.8.2  25-Feb-2013  tls resync with head
 1.30.8.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.30.2.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.30.2.2  23-Jan-2013  yamt sync with head
 1.30.2.1  16-Jan-2013  yamt sync with (a bit old) head

RSS XML Feed