Bug 252097 - mmap(2) contains typo - "restrictitions"
Summary: mmap(2) contains typo - "restrictitions"
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Guangyuan Yang
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-24 05:46 UTC by Nick Frampton
Modified: 2021-01-03 00:13 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Frampton 2020-12-24 05:46:22 UTC
The mmap(2) man page contains a typo "restrictitions" in this paragraph:

     If fd references a device file, the interpretation of the offset value is
     device specific and defined by the device driver.  The virtual memory
     subsystem does not impose any restrictitions on the offset value in this
     case, passing it unchanged to the driver.
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-12-24 14:09:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=81720dbab2a84669ec719149501b75ae78c3d4ee

commit 81720dbab2a84669ec719149501b75ae78c3d4ee
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2020-12-24 14:08:34 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2020-12-24 14:08:34 +0000

    mmap(2): Fix a typo

    PR:             252097
    MFC after:      1 week
    Reported by:    Nick Frampton <nick.frampton@akips.com>

 lib/libc/sys/mmap.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-12-24 14:17:51 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=a1d783675213798620550f4af137340458abe6c5

commit a1d783675213798620550f4af137340458abe6c5
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2020-12-24 14:14:56 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2020-12-24 14:14:56 +0000

    mmap(2): Update .Dd missed in the last commit

    PR:             252097
    MFC after:      1 week

 lib/libc/sys/mmap.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-01-03 00:12:15 UTC
A commit in branch stable/12 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=4cc87848753d161dbd1af405073b70085dcb838d

commit 4cc87848753d161dbd1af405073b70085dcb838d
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2021-01-03 00:11:49 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-01-03 00:11:49 +0000

    81720dba:
    mmap(2): Fix a typo

    PR:             252097
    Reported by:    Nick Frampton <nick.frampton@akips.com>

    a1d78367:
    mmap(2): Update .Dd missed in the last commit

    (cherry picked from commit 81720dbab2a84669ec719149501b75ae78c3d4ee)
    (cherry picked from commit a1d783675213798620550f4af137340458abe6c5)

 lib/libc/sys/mmap.2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)