~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise-proposed

« back to all changes in this revision

Viewing changes to fs/notify/fanotify/fanotify_user.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati, Ubuntu: 3.2.0-52.78, Ubuntu: 3.2.0-51.77
  • Date: 2013-08-01 09:30:26 UTC
  • Revision ID: package-import@ubuntu.com-20130801093026-fjt8qft0p77gqhfs
Tags: 3.2.0-1436.55
* Release Tracking Bug
  - LP: #1205540

[ Paolo Pisati ]

* rebased on Ubuntu-3.2.0-52.78

[ Ubuntu: 3.2.0-52.78 ]

* Release Tracking Bug
  - LP: #1205381
* Input: elantech - fix for newer hardware versions (v7)
  - LP: #1166442
* fanotify: info leak in copy_event_to_user()
  - LP: #1188356
  - CVE-2013-2148

[ Ubuntu: 3.2.0-51.77 ]

* Release Tracking Bug
  - LP: #1199470
* Bluetooth: Fix invalid length check in l2cap_information_rsp()
  - LP: #1204548

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
        metadata->event_len = FAN_EVENT_METADATA_LEN;
119
119
        metadata->metadata_len = FAN_EVENT_METADATA_LEN;
120
120
        metadata->vers = FANOTIFY_METADATA_VERSION;
 
121
        metadata->reserved = 0;
121
122
        metadata->mask = event->mask & FAN_ALL_OUTGOING_EVENTS;
122
123
        metadata->pid = pid_vnr(event->tgid);
123
124
        if (unlikely(event->mask & FAN_Q_OVERFLOW))