summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3/recipes-kernel/kernel-module-vspmif/kernel-module-vspm-if.bbappend
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-06-28 22:27:14 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-06-29 09:13:51 +0000
commit29c296c3e109653a3a341a99cbac611cd6323029 (patch)
treec5d13b9c310f291b032a1c06f71e6ae44afc7844 /meta-agl-bsp/meta-rcar-gen3/recipes-kernel/kernel-module-vspmif/kernel-module-vspm-if.bbappend
parentd149a04c88156943d8aa1aa89dabeaf9931a1c14 (diff)
This changeset fixes CVE-2017-1000366 by using the latest glibc revision from the 2.23 glibc git as of today which includes the needed fix. A few patch files included in poky had to be skipped as they're already included in this later version. Bug-AGL: SPEC-705 SPEC-706 Change-Id: Ie7ec64e524c68a4d5f2ca2a5363392c0588eb7d3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9935 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Diffstat (limited to 'meta-agl-bsp/meta-rcar-gen3/recipes-kernel/kernel-module-vspmif/kernel-module-vspm-if.bbappend')
0 files changed, 0 insertions, 0 deletions
und-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 * Copyright (c) 2018 TOYOTA MOTOR CORPORATION
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef HOMESCREEN_CLIENT_H
#define HOMESCREEN_CLIENT_H

#include <string>
#include <unordered_map>
#include "hs-helper.h"


class HS_Client {
public:
    HS_Client(afb_req_t request, const char* id) : HS_Client(request, std::string(id)){}
    HS_Client(afb_req_t request, std::string id);
    HS_Client(HS_Client&) = delete;
    HS_Client &operator=(HS_Client&) = delete;
    ~HS_Client();

    int tap_shortcut(const char* appid);
    int showWindow(afb_req_t request, const char* appid);
    int hideWindow(afb_req_t request);
    int replyShowWindow(afb_req_t request, const char* appid);
    int on_screen_message (afb_req_t request, const char* message);
    int on_screen_reply (afb_req_t request, const char* message);
    int subscribe(afb_req_t request, const char* event);
    int unsubscribe(afb_req_t request, const char* event);
    int showNotification(afb_req_t request);
    int showInformation(afb_req_t request);

private:
    bool checkEvent(const char* event);

private:
    std::string my_id;
    afb_event_t my_event;
    std::unordered_map<std::string, int> event_list;

};

#endif // HOMESCREEN_CLIENT_H